amazingtrade
Mad Madchestoh fan
In VB.NET I am trying to get these page working. It keeps coming up with
: BC30205: End of statement expected.
The spooky thing is that the same routine everywhere else in the code works, but when it comes to using the variable name HDS it comes displays the error message. The SQL statement is shown below.
mysql2= "SELECT * FROM project_hd where id="&hds
if I swap hds to a variable I coded on the first day of programming it such as USBID it works fine, but if I try and change the name it dosn't work even though I have changed the variable name everytime it appears in the code, thus the variable is doing exactly the same thing.
There does not seem to be any logical reason for this, does anybody have an idea what I can do to solve it? This is really doing my head in.
Thanks.
: BC30205: End of statement expected.
The spooky thing is that the same routine everywhere else in the code works, but when it comes to using the variable name HDS it comes displays the error message. The SQL statement is shown below.
mysql2= "SELECT * FROM project_hd where id="&hds
if I swap hds to a variable I coded on the first day of programming it such as USBID it works fine, but if I try and change the name it dosn't work even though I have changed the variable name everytime it appears in the code, thus the variable is doing exactly the same thing.
There does not seem to be any logical reason for this, does anybody have an idea what I can do to solve it? This is really doing my head in.
Thanks.