This book contains an example of the Quasar SQL for Windows DLLL
control
Error detail:
Error Msg:
Hilite Length: 0
Hilite Offset: 0
Padding: 0
Record Buff. Size: 59
Result Code: 0
Hilite Offset: 0
Padding: 0
Record Buff. Size: 30
Result Code: 69
te Offset: 0
Padding: 0
Record Buff. Size: 52
Result Code: 0
4loggedIn
FALSE
"Must Log In First"
4ptrControl, hUser, hCursor
("Enter SQL Query"
query
doit
buttonup
buttonup
Must Log In First
Enter SQL Query
cancel
query
query
ptrControl
hUser
hCursor
loggedIn
Ad Hoc Query
status
Number of Deletes: 0
Number of Inserts: 0
Number of Selects: 6
Number of Updates: 0
Elapsed Time (msec): 160
query
select * from p;
ere 'Rome' =
(select city from j where j.jno = spj.jno);
select * from spj;
4hUser, hCursor
login()
CursorOpen(
GetStatus(
buttonup
buttonup
login
CursorOpen
GetStatus
hUser
hCursor
Login
4hUser
Logout(
buttonup
buttonup
Logout
hUser
logout
4loggedIn
FALSE
"Must Log In First"
opendlg("c:\temp","*.sql", "Choose a query file...","SQLTBK")
sqlFile
IsqlFIle
o(26)
buttonup
buttonup
Must Log In First
c:\temp
*.sql
Choose a query file...
SQLTBK
opendlg
sqlFIle
query
sqlFile
loggedIn
File Query
results
P6 Cog Red 19London
P5 Cam Blue 12Paris
P4 Screw Red 14London
P3 Screw Blue 17Rome
P2 Bolt Green 17Paris
P1 Nut Red 12London
about
buttonUp
buttonUp
This Book is an example of using the QUASAR SQL For Windows API under ToolBook. This was just writen to see if the two products would integrate. I have not performed all the error checking I would do in final product nor has it been optimized.
This code has not gone through a formal QA process and is distributed AS IS. Tech Support can NOT assist with this product, but bug reports will be accepted,