ShaneBrennan
Programmer
This is not easy to explain but I wish to extract information from a table, using a variable which holds the name of the field I wish to extract information from.
For example if I want to extract information from the Field StudentID I can use the following line:
Label3.Caption = rst![StudentID]
If I have a variable called FldName which = "StudentID" is there someway of producing a line of code similar to the following:
Label3.caption = indirect("rst![",FldName,"]"
Thanks for any help
Shane Brennan - Learning access - but very slowly!
Shane Brennan
Shane.Brennan@tcat.ac.uk
For example if I want to extract information from the Field StudentID I can use the following line:
Label3.Caption = rst![StudentID]
If I have a variable called FldName which = "StudentID" is there someway of producing a line of code similar to the following:
Label3.caption = indirect("rst![",FldName,"]"
Thanks for any help
Shane Brennan - Learning access - but very slowly!
Shane Brennan
Shane.Brennan@tcat.ac.uk