This one is driving me mad because either it is staring me in the face, or it is more difficult than i think…..
Access97, SR2. OK, three text boxes on a form, all identical, and all used to indicate the progress of a data import procedure. Let’s call them: txtNorthImport, txtSouthImport and txtWestImport.
Here’s my code:
——————————————
Private Sub ImportQueries(strRegion As String)
docmd.SetWarnings False
Me.txt & “strRegion” & Import.Visible = True
Me.txt & “strRegion” & Import.Visible = Now()
My problem is that i don’t seem to be able to get the syntax right. I’ve tried everything to concatenate the field name with the string variable, but it just won’t have it.
Any ideas greatly appreciated.