Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSDE/SQL Server/etc - Stored procedures and such
Message
From
16/08/2003 16:10:53
 
 
To
16/08/2003 11:27:28
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00820729
Message ID:
00820815
Views:
18
>Thanks for that Cetin.
>Regarding your last point, do you mean to send all (3-8) SQLs in a single SQLExec? I understand that something like that can be done and that results sets for each are returned. IF that's close to correct < s >, and I really only need the last one, is that possible?
>
>cheers
>
>>Cetin

Hi Jim Nelson

I dunno whether this may help ...

mstring = 'select * from customer where cusid = ?mcusid '+;
'select * from supplier where supid = ?msupid '+;
'select * from invoice where cusid = ?mcusid '

inhandle = sqlexec(myconnect,mstring,'mytable')
if inhandle = 3 && 3 cursor...depand on no# table calling
=sqldisconnect(myconnect)
select mytable
browse
select mytable1
browse
select mytable2
browse
else
=sqldisconnect(myconnect)
=messagebox("Connection failed",0,"Warning")
endif
Previous
Reply
Map
View

Click here to load this message in the networking platform