User Profile
Collapse
-
Thx for the reply and help me moving to the correct forum. -
How can I use a variable value as a table field name in Access?
I need to use a variable value as a table field name. But when I ran the code, it gave me error and didn't use variable value but used the variable as the field name. I defined the following Sub and in my main Sub I call this Sub to input variable D, then the updating query will update the field where field name is matched with the variable D value.
Code:Public Sub HC(D As String) Dim db As DAO.Database
No activity results to display
Show More
Leave a comment: