[AccessD] Setting field name in recordset

Susan Harkins harkinsss at bellsouth.net
Tue May 23 15:59:24 CDT 2006


      ctl.Caption = rstControls.Fields(language)
 
I'm trying to grab a value from a recordset where the field changes. The
variable language is a string that holds the field name and I don't know
whether that's the problem or whether I'm using the wrong syntax. Should I
be referring to a field object instead of a string? I'm sure I've done this
before, but I just can't remember how. 
 
I'm using ADO, not DAO. 
 
Susan H. 



More information about the AccessD mailing list