M
Melissa
Please help if you can. I have the most difficult time with correct syntax
in the WHERE conditions. Could someone please let me know what I did wrong
in the following code?
Dim lngCriteria1 as Long
lngCriteria1 = "AttachmentID = & Me.AttachmentID &"
If Me.OptionGroup = 1 Then
DoCmd.OpenForm FormName:="frmattachmentssub", WhereCondition:=lngCriteria1
AttachmentID is an autonumber field that is also the PK. I appreciate any
help.
in the WHERE conditions. Could someone please let me know what I did wrong
in the following code?
Dim lngCriteria1 as Long
lngCriteria1 = "AttachmentID = & Me.AttachmentID &"
If Me.OptionGroup = 1 Then
DoCmd.OpenForm FormName:="frmattachmentssub", WhereCondition:=lngCriteria1
AttachmentID is an autonumber field that is also the PK. I appreciate any
help.