D
dohernan via AccessMonster.com
Hello, I have a form with a drop down combolist.
When Verification is chosen from it, I want to do an Event, AfterUpdate.
I want it to first see that "Verification" has been chosen, then for it to
check the current SSN against the SSNs in a 2nd AddressTable.
If there is no SSN match in the 2nd table I'll need a Subform to pop up and
take the address information, and then a Generate Letter/Report button can be
used, with all the extra info being saved to the 2nd table.
If there is a SSN match, that means the address is already in the 2nd table,
and a Report/Letter is to be opened in PrintView. However there needs to be
a way that the person can opt to open the Subform and change/add any
information to the Report/Letter.
I am unsure how to proceed. :/
I think the closest thing I have is -
Private Sub Verification_AfterUpdate()
If Me.[Verification] = "y" Then
DoCmd.RunCommand acCmdSaveRecord
DoCmd.OpenReport "VerificationLetter", acPreview, , _
"[Record] = " & Me.Record
End If
End Sub
Thanks
When Verification is chosen from it, I want to do an Event, AfterUpdate.
I want it to first see that "Verification" has been chosen, then for it to
check the current SSN against the SSNs in a 2nd AddressTable.
If there is no SSN match in the 2nd table I'll need a Subform to pop up and
take the address information, and then a Generate Letter/Report button can be
used, with all the extra info being saved to the 2nd table.
If there is a SSN match, that means the address is already in the 2nd table,
and a Report/Letter is to be opened in PrintView. However there needs to be
a way that the person can opt to open the Subform and change/add any
information to the Report/Letter.
I am unsure how to proceed. :/
I think the closest thing I have is -
Private Sub Verification_AfterUpdate()
If Me.[Verification] = "y" Then
DoCmd.RunCommand acCmdSaveRecord
DoCmd.OpenReport "VerificationLetter", acPreview, , _
"[Record] = " & Me.Record
End If
End Sub
Thanks