Hello,
I have created a recordset and am trying to reference fields within it. This works upto a certain number of fields (upto [Email2]) but then it does not recognise anything after that. The code is as follows
rst.Open "SELECT TableTest.[CI Code], TableTest.[Old CI Code], TableTest.Active, TableTest.Name, TableTest.BM, TableTest.Email1, TableTest.Email2, " & _
"TableTest.Email3, TableTest.Email4, TableTest.Email5, TableTest.Combined, TableTest.CombinedFile " & _
"FROM TableTest WHERE (((TableTest.Active)=True));", conn, adOpenForwardOnly
Thanks for any help
Mark
I have created a recordset and am trying to reference fields within it. This works upto a certain number of fields (upto [Email2]) but then it does not recognise anything after that. The code is as follows
rst.Open "SELECT TableTest.[CI Code], TableTest.[Old CI Code], TableTest.Active, TableTest.Name, TableTest.BM, TableTest.Email1, TableTest.Email2, " & _
"TableTest.Email3, TableTest.Email4, TableTest.Email5, TableTest.Combined, TableTest.CombinedFile " & _
"FROM TableTest WHERE (((TableTest.Active)=True));", conn, adOpenForwardOnly
Thanks for any help
Mark