Guest_imported
New member
- Jan 1, 1970
- 0
- 0
- 0
hi there, i'm currently trying to create a sql query in visual basic but however it is giving me some problem..
'
Dim mydata As String
searchSQL = "select Daily, Earning from ProgressChart "
searchSQL = searchSQL & "where Daily =" & mydata
'
i tink the problem is that when u use the where statement.. the criteria needs to hav a ' '...
pls kindly help me with the problem...
'
Dim mydata As String
searchSQL = "select Daily, Earning from ProgressChart "
searchSQL = searchSQL & "where Daily =" & mydata
'
i tink the problem is that when u use the where statement.. the criteria needs to hav a ' '...
pls kindly help me with the problem...