I have a problem, which i cannot solve:
1st: i created a [shift]-bypass module and behind a textbox a code which if doubleclicked a password is asked, to disable or enable the [SHIFT] key for opening the db the next time it is started up (found in a trhead here somewhere how to)
2nd: i have a module in which i have put the code for merging a query with a template in word, this code is behind a button in a form
My problem is as follows:
When opening the db in edit-mode (enable shift, and holding it to open the db); all forms, queries etc. are of course visible,
then opening the form, pushing the button results in the mergedocument with the correct information
BUT
When opening the db in read-mode (disable shift, which results that users cannot view, reach, write, etc..; no forms, queries and so on are visible)
and opening the form, pushing the button results in a requestioning of the parameters used in the query, continuing opening the word-template, further more there is an error coming up [could not lock file]; access is started up again......
Has anyone got ideas how to solve this problem?
Even when i now have deleted the SHIFT]-bypass modules and code behind the text, the problem remains that holding shift results in the correct mergedocument (without requestioning the parametervalues) and opening the db without SHIFT (allthough everything is visible, writable etc) resulting in the requestioning of the parameter values and errors [could not lock file].
I will continue sorting out my problem, but if anyone could assist me with it i would be most gratefull.
Thanks in advance
1st: i created a [shift]-bypass module and behind a textbox a code which if doubleclicked a password is asked, to disable or enable the [SHIFT] key for opening the db the next time it is started up (found in a trhead here somewhere how to)
2nd: i have a module in which i have put the code for merging a query with a template in word, this code is behind a button in a form
My problem is as follows:
When opening the db in edit-mode (enable shift, and holding it to open the db); all forms, queries etc. are of course visible,
then opening the form, pushing the button results in the mergedocument with the correct information
BUT
When opening the db in read-mode (disable shift, which results that users cannot view, reach, write, etc..; no forms, queries and so on are visible)
and opening the form, pushing the button results in a requestioning of the parameters used in the query, continuing opening the word-template, further more there is an error coming up [could not lock file]; access is started up again......
Has anyone got ideas how to solve this problem?
Even when i now have deleted the SHIFT]-bypass modules and code behind the text, the problem remains that holding shift results in the correct mergedocument (without requestioning the parametervalues) and opening the db without SHIFT (allthough everything is visible, writable etc) resulting in the requestioning of the parameter values and errors [could not lock file].
I will continue sorting out my problem, but if anyone could assist me with it i would be most gratefull.
Thanks in advance