J
Jean-Paul
This is hard to explain... please be patient!
I created a form, clickin a pushbutton runs some code which finaly
should generate a report.
The report is based upon a table linked to another one (let's name it
XYS) by an ID.
When I run the code from a form I get an errormessage sayin (and I have
to translate the syntax):
The database engine can not lock the table XYS because it is used by
another user or another process.
I'm the only use so it must be the process
When I click on the report iteself, everything is perfect, but when it
is run from within the code I get the message...
Maybe I should lock the table first, but I don't know how this is done.
When I delete the link and the teble XYS I don't get the message but of
course the report isn't correct)
Any help is welcome
Thanks
I created a form, clickin a pushbutton runs some code which finaly
should generate a report.
The report is based upon a table linked to another one (let's name it
XYS) by an ID.
When I run the code from a form I get an errormessage sayin (and I have
to translate the syntax):
The database engine can not lock the table XYS because it is used by
another user or another process.
I'm the only use so it must be the process
When I click on the report iteself, everything is perfect, but when it
is run from within the code I get the message...
Maybe I should lock the table first, but I don't know how this is done.
When I delete the link and the teble XYS I don't get the message but of
course the report isn't correct)
Any help is welcome
Thanks