I am trying to write a general funation to output the data in a table or query in a predefined format. I can get a list of the fields in recordset, but I don't know how to code up the dtaement to pick up the data. for example:
strfield = "field1"
print #1, [mytable]! strfield <- this shoudl evaluate to a piece of data.
I've tried using the Eval function, but the resultant expression doen't get compiled correctly.
Regards,
Adrian
strfield = "field1"
print #1, [mytable]! strfield <- this shoudl evaluate to a piece of data.
I've tried using the Eval function, but the resultant expression doen't get compiled correctly.
Regards,
Adrian