Access Form - how do I only display fields and cell values if the cell has data? -


could please me configuring access database? use combo-box @ top of form user selects available work forms (column 1 in table) , displays involved in form. displays every field , reduce information displayed display information if cell has value in it.

am using wrong tool? should using report instead? how's table data, much?

many thanks

my current form

my wanted result

the way hide empty fields change label field control , set control source following:

=iif([fieldname]<>'', "my label:", null) 

then set canshrink property on both "label" , field yes.

finally make sure section it's in (typically detail may have reason use other) has canshrink set yes.

when stack controls on top of each other in manner should result posted.

note: works reports or if print results of form. if not intend allow entry of data form better served report.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -