C
Colin Foster
I'm going to try again on this issue as, maybe, I didn't explain it clearly
enough (MacDermott/Turtle tried to help, but I'm still having
problems!)...so here goes...
TblProject
Project ID (Autonumber)
Other fields as necessary
TblQuote
QuoteID (Autonumber)
ProjectID (Number)
Other fields as necessary
TblEnquirer
EnquirerID (Autonumber)
Other fields as necessary
TblProjectEnquirer
ProjectEnquirerID (Autonumber)
ProjectID (Number)(lookup as combo box to TblProject)
EnquirerID (Number)
Forms are based on these tables.
FrmProject
FrmQuote (as subform linked to FrmProject via projectID)
FrmProjectEnquirer (as subform linked to FrmProject via projectID) - shows
all three fields
FrmEnquirer (as subform linked to FrmProjectEnquirer via enquirerID)
What I need to be able to do is to create a new enquirer within the
frmEnquirer subform which relates to the current project. However, I also
want to be able to re-use the details entered on another occasion if the
same person becomes an enquirer against another project.
So, on the frmProjectEnquirer...
If I set the EnquirerID field to be a text box or a combo box, then when I
try to add a new customer, I receive an error message informing me that I
tried to assign a null value to a variable that is not a variant data type.
Do I need to create the enquirer outside of the main form and then return to
the frmProject to select the enquirer?
Any suggestions would be really most welcome as I feel like screaming at the
moment!
Regards
Colin Foster
enough (MacDermott/Turtle tried to help, but I'm still having
problems!)...so here goes...
TblProject
Project ID (Autonumber)
Other fields as necessary
TblQuote
QuoteID (Autonumber)
ProjectID (Number)
Other fields as necessary
TblEnquirer
EnquirerID (Autonumber)
Other fields as necessary
TblProjectEnquirer
ProjectEnquirerID (Autonumber)
ProjectID (Number)(lookup as combo box to TblProject)
EnquirerID (Number)
Forms are based on these tables.
FrmProject
FrmQuote (as subform linked to FrmProject via projectID)
FrmProjectEnquirer (as subform linked to FrmProject via projectID) - shows
all three fields
FrmEnquirer (as subform linked to FrmProjectEnquirer via enquirerID)
What I need to be able to do is to create a new enquirer within the
frmEnquirer subform which relates to the current project. However, I also
want to be able to re-use the details entered on another occasion if the
same person becomes an enquirer against another project.
So, on the frmProjectEnquirer...
If I set the EnquirerID field to be a text box or a combo box, then when I
try to add a new customer, I receive an error message informing me that I
tried to assign a null value to a variable that is not a variant data type.
Do I need to create the enquirer outside of the main form and then return to
the frmProject to select the enquirer?
Any suggestions would be really most welcome as I feel like screaming at the
moment!
Regards
Colin Foster