Hello all!
I'm having difficulty creating a report.
Let's assume I have 5 records with 5 fields.
record1, record2, record3, record4, record5, and field1(primaryKey), field2, field3, field4, field5.
Not every field has data in it(meaning it is either null or blank).
I would like for a report to display the field1(primaryKey) field, and any other field that is blank or null in that record.
Code:
I was thinking about putting 5 unbound textboxes(TextBox1, TextBox2, TextBox3....) on a report and putting some code that does the following:
If field1 is not null
Then go to next field
Else
TextBox1 = field1
this code would need to loop through each field and also increase textbox number after a textbox is assigned a certain fieldname
Any ideas??
Also, my database is normalized, the reason why some fields are blank is simply because we are tracking a process that is over a period of time. Therefore some fields are filled out way before others.