R
Rod
I have created a recordset by creating a crosstab query in code
ie Set MyRS=Db.OpenRecordset(mySQL.,......
But becuase it is a crosstab I do not know if all the fields are always
there.
What I want to be able to do is something like
If MyRS("MyField").Exists then
MyVar=MyRS(MyField)
Any hints much appreciated.
thanks
Rod
PS, am using DAO if it makes any difference.
ie Set MyRS=Db.OpenRecordset(mySQL.,......
But becuase it is a crosstab I do not know if all the fields are always
there.
What I want to be able to do is something like
If MyRS("MyField").Exists then
MyVar=MyRS(MyField)
Any hints much appreciated.
thanks
Rod
PS, am using DAO if it makes any difference.