H
hntsignif
I have two forms. Both have a button that call the same subform.
This is the information for the first call. It works just fine.
________________________________________
stLinkCriteria = "[SEASONS]='" & Me!Season & "' And [DevCodeA]='" &
Me!DEVCODE & "'"
stDocName = "MilestoneDates"
DoCmd.OpenForm stDocName, , , stLinkCriteria
________________________________________
This is the information for the second call. The Seasons portion works but
the TrackingNo portion doesn't (Ie I pulled the code and ran one part and
then the other)
________________________________________
stLinkCriteria = "[SEASONS]='" & Me!Season & "' And [DevCodeA]='" &
Me!TrackingNo & "'"
stDocName = "MilestoneDates"
DoCmd.OpenForm stDocName, , , stLinkCriteria
________________________________________
The type (Text), format (none specified), information (indexed, no
duplicates) and even number of characters (255) is all the same between the
DEVCODE field and the TrackingNo field. They are in two different tables.
Why would one work and not the other??? It is driving me nuts.
This is the information for the first call. It works just fine.
________________________________________
stLinkCriteria = "[SEASONS]='" & Me!Season & "' And [DevCodeA]='" &
Me!DEVCODE & "'"
stDocName = "MilestoneDates"
DoCmd.OpenForm stDocName, , , stLinkCriteria
________________________________________
This is the information for the second call. The Seasons portion works but
the TrackingNo portion doesn't (Ie I pulled the code and ran one part and
then the other)
________________________________________
stLinkCriteria = "[SEASONS]='" & Me!Season & "' And [DevCodeA]='" &
Me!TrackingNo & "'"
stDocName = "MilestoneDates"
DoCmd.OpenForm stDocName, , , stLinkCriteria
________________________________________
The type (Text), format (none specified), information (indexed, no
duplicates) and even number of characters (255) is all the same between the
DEVCODE field and the TrackingNo field. They are in two different tables.
Why would one work and not the other??? It is driving me nuts.