FurryGorilla
Technical User
H
This is getting a little frustrating now as I haven't done any Access for a while and I can't for the life of me remember how to do it. Basically I have two tables as follows:
tblComplaint(CCNo, Customer, SMNNo, DateRaised Area)
tblContainment(CCNo, Action, DateAgreed, Other)
Once the complaint has been entered into the tblComplaint the user can add containment action.
I have a form which has an unbound drop down box which has those CCNos from the tblComplaint table. When a CCNo has been selected the subform is updated by running a query on the tblContainment table using the cboCCNo from the main form. Any values that are returned by the query are inserted into the subform.
The problem I have is that when I insert/modify data in the subform I cannot run an add/update query from the main form as it is returning NULL values. I have a feeling it may be something to do with the select query used on the subform but I really haven't got a clue.
If anyone has a solution to this I would be grateful.
Thanks in advance
Chris
the user should be able to select the CC number on a form (SELECT qry to read into drop down box - unbound) and this will then query the tblContainment table and read it into a subform. The user should then be able to enter or odify the data on the subform and then press a button which will update the tblContainment table with the new/modified data.
Unfortunately I'm finding that I am unable to use t
This is getting a little frustrating now as I haven't done any Access for a while and I can't for the life of me remember how to do it. Basically I have two tables as follows:
tblComplaint(CCNo, Customer, SMNNo, DateRaised Area)
tblContainment(CCNo, Action, DateAgreed, Other)
Once the complaint has been entered into the tblComplaint the user can add containment action.
I have a form which has an unbound drop down box which has those CCNos from the tblComplaint table. When a CCNo has been selected the subform is updated by running a query on the tblContainment table using the cboCCNo from the main form. Any values that are returned by the query are inserted into the subform.
The problem I have is that when I insert/modify data in the subform I cannot run an add/update query from the main form as it is returning NULL values. I have a feeling it may be something to do with the select query used on the subform but I really haven't got a clue.
If anyone has a solution to this I would be grateful.
Thanks in advance
Chris
the user should be able to select the CC number on a form (SELECT qry to read into drop down box - unbound) and this will then query the tblContainment table and read it into a subform. The user should then be able to enter or odify the data on the subform and then press a button which will update the tblContainment table with the new/modified data.
Unfortunately I'm finding that I am unable to use t