since he said...
>> through code when I know the string value of the table
I thought he meant something like
(assuming sTableName is the name of the table which I think he means by
"string value of the table")
MyRS.Open "SELECT * FROM " & sTableName, myConn
but that's just my newbie guess.
:-)
Mark
> You mean something like:
>
> "SELECT " & mystrColName & "FROM myTable"
> > Hi -
> >
> > Does anyone know how I set a reference to a given field of an Access table
> > through code when I know the string value of the table? > > Dan
Earl - 30 Nov 2005 06:49 GMT
No, I was just sleeping ... now he knows both anyway.
> since he said...
>>> through code when I know the string value of the table
[quoted text clipped - 18 lines]
> table
>> > through code when I know the string value of the table? > > Dan