I tried to adapt a old database to a new purpose.. I thought I have made small alterations, but one must have been fatal.
The job asked was to open a record sheet, (Formular) by clicking a button..
Now when I clck the button, I obtain an error message "Unable to open the form)
I can open the form manually
The form is related to a request which selects a series of records. This works also manually
The VBA stops precisely on the followint sentence
DoCmd.OpenForm stDocName, , , stLinkCriteria
stDocName is known (the name of the form) et stLinkCriteria ([Réf_Patient]=6 also
I removed the button and created a knew one.. Changed nothing
Any help would be greatly appreciated