mistaken_myst
Active member
- Joined
- Oct 29, 2007
- Messages
- 25
- Programming Experience
- Beginner
Need Help plz.. Here is an Example of my code problems:
Dim str1 As String = "SELECT tblT.* FROM(tblT) WHERE (((tblTs.TelCode)= "746328" ));" - This gives an error 'End of statement expected
Dim str1 As String = "SELECT tblT.* FROM(tblT) WHERE (((tblTs.TelCode)= ""746328"" ));" - This solves the problem but it I need a code for:
dim d as String = "746328"
Dim str1 As String = "SELECT tblT.* FROM(tblT) WHERE (((tblTs.TelCode)= d ));" - gives error
Dim str1 As String = "SELECT tblT.* FROM(tblT) WHERE (((tblTs.TelCode)= "746328" ));" - This gives an error 'End of statement expected
Dim str1 As String = "SELECT tblT.* FROM(tblT) WHERE (((tblTs.TelCode)= ""746328"" ));" - This solves the problem but it I need a code for:
dim d as String = "746328"
Dim str1 As String = "SELECT tblT.* FROM(tblT) WHERE (((tblTs.TelCode)= d ));" - gives error