G
Guest
What is the best way to handle a transition from one form to another?
I’m creating a database to track the application for various types of
permits. What will happen is when an application first comes in, the common
data (name/address of applicant) will be stored in one table and the record
will be assigned a permit number. Based on evaluation of the application,
the processing can take various paths, for example, an exemption, approval or
denial (with supporting documentation). This data I plan to store in separate
respective tables (table for exemption, approval, denial). All will be tied
together by the permit number field. After the initial form is completed
with the common data and the user clicks on a button to open the Exemption
form, for example, what is the best way to pre-populate the Permit number
into the Exemption form? If the field name is [PerNum] and the initial data
entry form is [frmApp], would the following code work in the PerNum field on
the Exemption form:
=[Forms]![frmApp]![PerNum]
Should I add an if is null code to the above so the PerNum doesn’t get
accidentally overwritten upon opening the Exemption form?
Is there a better way? Any suggestions appreciated.
I’m creating a database to track the application for various types of
permits. What will happen is when an application first comes in, the common
data (name/address of applicant) will be stored in one table and the record
will be assigned a permit number. Based on evaluation of the application,
the processing can take various paths, for example, an exemption, approval or
denial (with supporting documentation). This data I plan to store in separate
respective tables (table for exemption, approval, denial). All will be tied
together by the permit number field. After the initial form is completed
with the common data and the user clicks on a button to open the Exemption
form, for example, what is the best way to pre-populate the Permit number
into the Exemption form? If the field name is [PerNum] and the initial data
entry form is [frmApp], would the following code work in the PerNum field on
the Exemption form:
=[Forms]![frmApp]![PerNum]
Should I add an if is null code to the above so the PerNum doesn’t get
accidentally overwritten upon opening the Exemption form?
Is there a better way? Any suggestions appreciated.