View Single Post
Old 10-23-2003   #3
Mr Benn
Members
 
Mr Benn's Avatar
 
Join Date: Oct 2003
Posts: 113
Default

Quote:
Originally posted by sarettah@Oct 23 2003, 05:49 AM
What is the logical output from this code snippet....... (language is VFP but should be fairly discernible to anyone who has read code before.....)
...

sqlport=sqlconnect('brandon',usernam,password)

sql_str='select * from brandon_master order by value'
&sql_str
No output, because you didn't send your SQL query to some function like sqlquery()

Or was the "&sql_str" meant to imply it was executing a query with that string?
__________________
MrBenn

"As if by magic, the shopkeeper appeared."
Mr Benn is offline   Reply With Quote