JeffreyDavid
Registered User.
- Local time
- Today, 07:06
- Joined
- Dec 23, 2003
- Messages
- 63
I have a form with a subform, and in the subform I have a text box (ProjectNo) that I want to mimic a textbox on the form (ProjectNo). All of the fields in my subform are bound fields so I need to add the ProjectNo to each line in the subform or there will be no Orders associated to the ProjectNo. See the ProjectNo is my Primary Key in both tables. The subform saves to the Project table and the form saves to the Orders table. I have tried to add the linking criteria in the query but got no results and I had it in the Control Source but then the field was not bound anymore so in my Project table I had a bunch of orders with no ProjectNo. Or is there a way to have code like 'ProjectNo = Forms![NewProject]![txtProjectNo]'.
By the way, this code here doesn't work.
Thanks