datatype mismatch - compare text to integer

L

liz

Dim iJobID As Integer

rstJobList.FindFirst "JobID = " & iJobID

JobID (in rstJobList) is a Text field.
Hate all this quotation marks thing - it always gets me muddled up - any
help would be much appreicated!
 
R

ruralguy via AccessMonster.com

rstJobList.FindFirst "JobID = '" & iJobID & "'"
Dim iJobID As Integer

rstJobList.FindFirst "JobID = " & iJobID

JobID (in rstJobList) is a Text field.
Hate all this quotation marks thing - it always gets me muddled up - any
help would be much appreicated!
 
Top