Randomblink
The Irreverent Reverend
- Local time
- Yesterday, 21:45
- Joined
- Jul 23, 2001
- Messages
- 279
Ok...
I have two tables that have related information. In one table I store all of the data concerning work projects. In the other table, it holds contract ammendments concerning those projects. I have the two tables related by a field called [PROJKEY]. In the main table (BASPROJINFO) the [PROJKEY] is an Autonumber that increments as each project is added, this identifies each project with a number ONLY the database knows and stores. In the other table (CTRCAMD) the [PROJKEY] is a simple text field.
I have two different forms I use to imput information. One forms is for NEW ONLY. No editing allowed. It is set with DataEntry to YES. This form has a subform to the (CTRCAMD) table so that as I enter a new project, if there are already some ammendments I can enter them then. The other form I created is a duplicate of this form, except it has a lookup field, and is NOT set to DataEntry.
The EDIT form works fine, I can input new or add contract ammendments no problem. The other form, for NEW ONLY, when I get to the subform part and want to add some ammendments, the form is empty, no blank fields for adding. And since this is a the first entry of this project information, it can't even reference previous ammendments. It just sits there blank...no fields.
Can someone point out what is wrong? Right now if I want to put ammendments into a project, I have to finish the data entry form and then open the edit form and drop them in there??? ARGH!
Should I just remove my subforms from the NEW ONLY form and deal with only inputting contract ammendments in the EDIT form? Or is there a solution? HELP ME!
I have two tables that have related information. In one table I store all of the data concerning work projects. In the other table, it holds contract ammendments concerning those projects. I have the two tables related by a field called [PROJKEY]. In the main table (BASPROJINFO) the [PROJKEY] is an Autonumber that increments as each project is added, this identifies each project with a number ONLY the database knows and stores. In the other table (CTRCAMD) the [PROJKEY] is a simple text field.
I have two different forms I use to imput information. One forms is for NEW ONLY. No editing allowed. It is set with DataEntry to YES. This form has a subform to the (CTRCAMD) table so that as I enter a new project, if there are already some ammendments I can enter them then. The other form I created is a duplicate of this form, except it has a lookup field, and is NOT set to DataEntry.
The EDIT form works fine, I can input new or add contract ammendments no problem. The other form, for NEW ONLY, when I get to the subform part and want to add some ammendments, the form is empty, no blank fields for adding. And since this is a the first entry of this project information, it can't even reference previous ammendments. It just sits there blank...no fields.
Can someone point out what is wrong? Right now if I want to put ammendments into a project, I have to finish the data entry form and then open the edit form and drop them in there??? ARGH!
Should I just remove my subforms from the NEW ONLY form and deal with only inputting contract ammendments in the EDIT form? Or is there a solution? HELP ME!