Hi all,
Im just curious as to the best method of referencing Access objects declaring strings and writing code. I have about 15 fields to which I want to add from a main form into a sub form and Im using VBA. Do I have to declare them all as strings\double etc and then reference the field to the string and then write the code to add the form fields to the subform or am I going about it the long way.
So an example would be:
Code:
Dim strName as String, mysql as string
strName = me.formname.fieldname
mysql = ".....Mysqlcode..."
Hope this makes sense? Thanks