|
-
Jul 30th, 2001, 10:40 AM
#1
Thread Starter
New Member
Variable Field name in Recordsets
Howdy.
I'm trying to place a variable into the recordset column identifier.
IE. rst![name].
To use a variable (calculated) column name I have tried to use field joining characters and quotation marks, but to no avail.
IE. rst![ " & name & "]
Does anyone have any ideas of the correct syntax??
Thanks for your help.
Ciao
Mattuis
-
Jul 30th, 2001, 11:58 AM
#2
Frenzied Member
Now when you say place the var into the field name. Are you trying to change the fieldname. If so use the data schema object in ADO. If you mean place the value of a variable into a recordset why not just do the following
rs.fields("MyField") = MyVar
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
|