|
-
Aug 25th, 2000, 06:43 PM
#1
Thread Starter
Addicted Member
I have a situation using this kind of code in a routine:
iValue = dbRecordset![Field1]
(bang notation using ADO recordset)
Thing is, I want to assign the data field to a variable, and then use the variable in the code, something like this:
Dim sDataField as String
sDataField = "[Field1]"
iValue = dbRecordset! & sDataField
--Of course, this doesn't work! I don't know the proper way to set this up. I would be grateful for any suggestions on how to do this.
Thanks,
PSW
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|