Hi - not sure if anyone can help me with this, I am building a module to obtain information from a query and using it to calcualte a cost. I am receiving a strange error:
Runtime error 30020:
Cannot find column: 'Cannot find column 'C1''
I do not have any columns called C1 or any references to one. the query I am getting information from does have row numbers added to it but otherwise just a normal query.
I am working with an access front end on a sql server 2000 back end.
This is one of the lines of code that throws the error:
pagecount = DLookup("bkPagecount", "[" & selectQuery & "]")
where selectQuery is the name of the stored procedure.
Any help on this appreciated
Thanks
Steph
Runtime error 30020:
Cannot find column: 'Cannot find column 'C1''
I do not have any columns called C1 or any references to one. the query I am getting information from does have row numbers added to it but otherwise just a normal query.
I am working with an access front end on a sql server 2000 back end.
This is one of the lines of code that throws the error:
pagecount = DLookup("bkPagecount", "[" & selectQuery & "]")
where selectQuery is the name of the stored procedure.
Any help on this appreciated
Thanks
Steph