GREABR
IS-IT--Management
- Aug 19, 2002
- 21
This is my first post, must say that this forum has been very helpful, so thanks to all for that.
Please stop me from throwing my laptop onto a freeway.
I am not sure what to call this error, as I am unsure exactly what is happening when it occurs. This I what I do:
I open a form to a new blank record, then select from a combo box that is bound to a field on the form, as far as I can tell the combo gets to AfterUpdate.
This is where I have the problem - when I tab,click,move to another field on the form, all fields change to display "#deleted".
Here is some additional info about my forms and Tables. Using the same form, If I open the form and records exist they are displayed, I have an "ADD" button on the form - basically set allowadditions to true and then add a record. When I do it this way it works fine. I only have the problem when a new record is added on Open Form. At first I thought the form was updating, but the form never gets to beforeupdate (I stuck a msgbox there to check).
There are however filters and keys that may have something to do with this problem.
Describe:
Form "Master" has a subform "SubMaster". Master represents a legal document. That leagal document can have many versions over a period of time. So table for master has two field that make up the primary key = docID, verID. a separate relate table contains version specific data for the document.
Next the document can have a list of names associated with it and they must be obtained from a Table called "AllNames".
At any point in the timeline for the document you will have the document, at a particular version, with a small selection of names listed on it.
So, another table "Names" has 3 fields as PK DocID,VerID,Name. "Names" is related to "Master" based on DocID and VerID. The form "Names" is where I have my error.
I get to this form by clicking a button on "SubMaster"
frmMaster data is tblMaster
frmSubMaster data is tblNames
frmSubMaster is a datasheet with record selectors showing only two fields name,desc
a button on frmSubMaster opens frmNames
frmNames data is tblNames
tblNames is filtered to only matching DocID and VerID.
when no names are assigned, The form opens to a new record.
the combobox gets from tblAllNames.names and is bound to tblNames.names
I guess that is it. Very Very sorry if this is a confusing post - I really hope he who fixes this for me does not have to read past the simple discription of the error.
Thank you
Please stop me from throwing my laptop onto a freeway.
I am not sure what to call this error, as I am unsure exactly what is happening when it occurs. This I what I do:
I open a form to a new blank record, then select from a combo box that is bound to a field on the form, as far as I can tell the combo gets to AfterUpdate.
This is where I have the problem - when I tab,click,move to another field on the form, all fields change to display "#deleted".
Here is some additional info about my forms and Tables. Using the same form, If I open the form and records exist they are displayed, I have an "ADD" button on the form - basically set allowadditions to true and then add a record. When I do it this way it works fine. I only have the problem when a new record is added on Open Form. At first I thought the form was updating, but the form never gets to beforeupdate (I stuck a msgbox there to check).
There are however filters and keys that may have something to do with this problem.
Describe:
Form "Master" has a subform "SubMaster". Master represents a legal document. That leagal document can have many versions over a period of time. So table for master has two field that make up the primary key = docID, verID. a separate relate table contains version specific data for the document.
Next the document can have a list of names associated with it and they must be obtained from a Table called "AllNames".
At any point in the timeline for the document you will have the document, at a particular version, with a small selection of names listed on it.
So, another table "Names" has 3 fields as PK DocID,VerID,Name. "Names" is related to "Master" based on DocID and VerID. The form "Names" is where I have my error.
I get to this form by clicking a button on "SubMaster"
frmMaster data is tblMaster
frmSubMaster data is tblNames
frmSubMaster is a datasheet with record selectors showing only two fields name,desc
a button on frmSubMaster opens frmNames
frmNames data is tblNames
tblNames is filtered to only matching DocID and VerID.
when no names are assigned, The form opens to a new record.
the combobox gets from tblAllNames.names and is bound to tblNames.names
I guess that is it. Very Very sorry if this is a confusing post - I really hope he who fixes this for me does not have to read past the simple discription of the error.
Thank you