N
NKK
I have an unbound form I would like to use for entering new records (only).
I have deliberately chosen to separate entering new records and
viewing/updating previously entered records due to some factors of my
database that would make is difficult to accomplish both tasks with the same
form. On my data entry form I have three controls (among several others)
that all pertain to a single table (lu_submitters). These three controls are
a combobox (cboSubmitterID), a check box (cbxFacilityConfAgree) and a text
box (tbxFCADate). I have to combobox set up to look for submitter ID's in
the lu_submitters table; I would like cbxFacilityConfAgree to display the
data in lu_submitters.facility_conf_agree field and tbxFCADate to display the
data in lu_submitters.fca_date_received for the submitter_id that is chosen
in cboSubmitterID; if there is no data for those fields, I want the controls
to remain "open" so the user can entere data and then it can be "saved" when
the form is completed. I know I need to use a recordset object, but do I use
the openrecordset method or the find method. And what do I do with the
recordset if there is no associated data in those fields..do I close it
immediately or do I wait until the end of the data entry?
I have deliberately chosen to separate entering new records and
viewing/updating previously entered records due to some factors of my
database that would make is difficult to accomplish both tasks with the same
form. On my data entry form I have three controls (among several others)
that all pertain to a single table (lu_submitters). These three controls are
a combobox (cboSubmitterID), a check box (cbxFacilityConfAgree) and a text
box (tbxFCADate). I have to combobox set up to look for submitter ID's in
the lu_submitters table; I would like cbxFacilityConfAgree to display the
data in lu_submitters.facility_conf_agree field and tbxFCADate to display the
data in lu_submitters.fca_date_received for the submitter_id that is chosen
in cboSubmitterID; if there is no data for those fields, I want the controls
to remain "open" so the user can entere data and then it can be "saved" when
the form is completed. I know I need to use a recordset object, but do I use
the openrecordset method or the find method. And what do I do with the
recordset if there is no associated data in those fields..do I close it
immediately or do I wait until the end of the data entry?