GoingCrazy
Technical User
I have several forms with subforms that are synchronized using the DWG# and DWGREV fields of each of the tables. Everything works fine until I try to add a record using an existing DWG# and give it a new DWGREV letter. It works on the form that I add the record to, but when I go to the next form, it reverts to the original DWG# and DWGREV. Linking the forms with the wizard only gives me one field I can link the forms with...is it possible to give it 2 fields to link on? Here is the code behind the command button to move to the next form:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmChklist-Main-LC"
stLinkCriteria = "[DWG#]=" & "'" & Me![DWG#] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Thanks for any help you can provide...
GoingCrazy
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmChklist-Main-LC"
stLinkCriteria = "[DWG#]=" & "'" & Me![DWG#] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Thanks for any help you can provide...
GoingCrazy