J
Jørn Nystad
Hi
I have a strange problem with my Access 2000 db.
Its a multiuser environment with backend and frontend mdb files.
Backend has only tables and frontend have all the forms, queries and code.
I'm only using VBA code and no macros.
Average 6 users using the system at the same time.
I have made noe relations between tables.
Now to the problem.
A form with datasource set directly to a table does not bind to the data in
the table anymore.
The form has only default settings in the data tab of the properties window.
The form is modal.
The form ('cause of many fields in the table) has a lot of controls. Prob
around 30 or so.
I use
DoCmd.Openform "Myform", , , "[SD_PR_ID] = " & CStr(Me!PR_ID)
to open the form.
in MyForm_Open() i have some code to fill a unbound label.
In MyForm_Current() i have som formatting code.
The form does not bind without filter either. Like this:
DoCmd.Openform "Myform"
And thats about it.
After editing a command button in the form i compiled the VBA code and
runned "Compress and repair".
Then the form refused to bind to the table.
The old version is working, but ive done so much editing that i would like
to get the newest version to work.
Anyone experienced this before?
I've tried everything i could think of. Do i really have to build a new
form?
Any help would be appreciated.
I have a strange problem with my Access 2000 db.
Its a multiuser environment with backend and frontend mdb files.
Backend has only tables and frontend have all the forms, queries and code.
I'm only using VBA code and no macros.
Average 6 users using the system at the same time.
I have made noe relations between tables.
Now to the problem.
A form with datasource set directly to a table does not bind to the data in
the table anymore.
The form has only default settings in the data tab of the properties window.
The form is modal.
The form ('cause of many fields in the table) has a lot of controls. Prob
around 30 or so.
I use
DoCmd.Openform "Myform", , , "[SD_PR_ID] = " & CStr(Me!PR_ID)
to open the form.
in MyForm_Open() i have some code to fill a unbound label.
In MyForm_Current() i have som formatting code.
The form does not bind without filter either. Like this:
DoCmd.Openform "Myform"
And thats about it.
After editing a command button in the form i compiled the VBA code and
runned "Compress and repair".
Then the form refused to bind to the table.
The old version is working, but ive done so much editing that i would like
to get the newest version to work.
Anyone experienced this before?
I've tried everything i could think of. Do i really have to build a new
form?
Any help would be appreciated.