Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reserved work lineno as field

Status
Not open for further replies.

benah

Programmer
Jan 5, 2001
10
US
I have a sql database on sql server. The following works.

lnsql = sqlstringconnection('blah blah blah') && I know this is wrong :).

lnok = sqlexec(lnsql, 'select bbshipto.ljob from bbshipto', 'mycursor')


The following blows up:

lnok = sqlexec(lnsql, 'select bbshipto.lineno from bbshipto', 'mycursor')

When I tried to create a view in the view designer, that blows up as well complaining about lineno, yes the field really is lineno.

Any suggestions?

Thanks in advance.
 
I found my own answer.

lcsqlcmd = 'select bbshipto.[lineno] from bbshipto'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top