conditional printing/display in a continuous form

Joined
Mar 2, 2011
Messages
1
Reaction score
0
Hi,

I am very new to vba.
I have a form connected to a table with many records.
For each record I would like to print out all the fields which hold values other than the defaultValue.
I have written a code that sets the field height to 0 when the value is the defaultValue.
However, this only works for the first record in the form.
I know this is known problem with continuous forms but I was wondering if anyone could give me a snippet of the appropriate code to overcome it.

I thought of something like a loop that opens the forms - goes to a record - runs the module - prints the form - closes the forms - runs again for the next record.

Thanks in advance
EJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top