Putting a variable in a Me statement

Peter Bellamy

Registered User.
Local time
Today, 19:48
Joined
Dec 3, 2005
Messages
295
Can someone please guide on this?

I have the following line
StrProd = Me.certgas_product

I want to rewrite this using a String variable, StrTbl inplace of the 'certgas_'

StrProd = "Me." & StrTbl & "product" just assigns StrProd to that string, not the underlying value.

Thanks
 
note that the me bit is superfluous for most of this stuff
 

Users who are viewing this thread

Back
Top Bottom