R
reservedbcreater
im totally new to access, my 8 month project at work is to create a access
db. anyway i want the first form to close and open a new form when next is
clicked. i did that. but i also want the new form to open with the same ID
field as the first form. this is what i have now and it doesn't work:
Dim stDocName As String
Dim stLinkCriteria As String
stLinkCriteria = "ID=" & Me.ID
DoCmd.Close
stDocName = "Water: Sweet Grass"
DoCmd.OpenForm stDocName, , , stLinkCriteria
db. anyway i want the first form to close and open a new form when next is
clicked. i did that. but i also want the new form to open with the same ID
field as the first form. this is what i have now and it doesn't work:
Dim stDocName As String
Dim stLinkCriteria As String
stLinkCriteria = "ID=" & Me.ID
DoCmd.Close
stDocName = "Water: Sweet Grass"
DoCmd.OpenForm stDocName, , , stLinkCriteria