G
Guest
Whenever I run this code Access asks me to enter stImproved. When I type in
Improved and hit enter the rest of the code works fine and the correct
records are retrieved. I thought by putting stImproved = "Improved" that
this was already substantiated. what am I missing.
Dim stDocName As String
Dim stLinkCriteria As String
Dim stImproved As String
stDocName = "TblImproved"
stLinkCriteria = stLinkCriteria & _
" AND TblComparable!ImprovedVacant = stImproved"
Improved and hit enter the rest of the code works fine and the correct
records are retrieved. I thought by putting stImproved = "Improved" that
this was already substantiated. what am I missing.
Dim stDocName As String
Dim stLinkCriteria As String
Dim stImproved As String
stDocName = "TblImproved"
stLinkCriteria = stLinkCriteria & _
" AND TblComparable!ImprovedVacant = stImproved"