D
denyoung
Working in Access VBA:
‘Where S1Speech is a field name in an Access 2007 table called SP
‘This 1st example works fine putting the value from S1Speech into the
variable S1
Dim S1 as String
S1= [S1Speech]
‘ These other 2 examples don’t work
Example #2
Dim S1 as String
Dim TXHolder as String
TXHolder = S1Speech
S1=[TXHolder]
Example #3
Dim S1 as String
Dim TXHolder as String
TXHolder = [S1Speech]
S1=TXHolder
Is there a way to use a variable in a situation like this?
Thanks
‘Where S1Speech is a field name in an Access 2007 table called SP
‘This 1st example works fine putting the value from S1Speech into the
variable S1
Dim S1 as String
S1= [S1Speech]
‘ These other 2 examples don’t work
Example #2
Dim S1 as String
Dim TXHolder as String
TXHolder = S1Speech
S1=[TXHolder]
Example #3
Dim S1 as String
Dim TXHolder as String
TXHolder = [S1Speech]
S1=TXHolder
Is there a way to use a variable in a situation like this?
Thanks