Home : Products : DBMan : Customization :

Products: DBMan: Customization: Re: [cybermen] optional view: Edit Log

Here is the list of edits for this post
Re: [cybermen] optional view
In html_record_form, you'd need to name your checkbox (I think that's the best way to go) something like view_fieldname. Then, in html_record, you'd make it a condition. Something like

Code:

if ($in{view_fieldname}) {
print qq|whatever your formatting is for that field|;
}

You would not be able to use the autogenerate feature for this.

One thing to be aware of is that you would be effectively elminating the "List All" feature, unless you did some extra programming.

Note that the full record would always be extracted from the database. The checkbox would just determine which field(s) to display.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.

Last edited by:

JPDeni: May 10, 2005, 6:30 PM

Edit Log: