R
Rohan via AccessMonster.com
Hello.
I have a label on Form A with an onClick method that opens a new form (form B)
with the following code:
stDocName = "frmdocument_review_referral"
MsgBox "doc_review_id = " & Me![doc_review_id]
stLinkCriteria = "[doc_review_id]=" & Me![doc_review_id]
DoCmd.OpenForm stDocName, , , stLinkCriteria
The Form B works if the record exists in the database.. How do I create a
new record using the doc_review_id of form A when the record for Form B
doesn't exist.
Rohan.
I have a label on Form A with an onClick method that opens a new form (form B)
with the following code:
stDocName = "frmdocument_review_referral"
MsgBox "doc_review_id = " & Me![doc_review_id]
stLinkCriteria = "[doc_review_id]=" & Me![doc_review_id]
DoCmd.OpenForm stDocName, , , stLinkCriteria
The Form B works if the record exists in the database.. How do I create a
new record using the doc_review_id of form A when the record for Form B
doesn't exist.
Rohan.