Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interacting VFP Cursor with FireBird Tables using SQL Pa
Message
 
To
25/10/2007 06:59:54
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Firebird
Miscellaneous
Thread ID:
01263442
Message ID:
01264007
Views:
14
Hi Dorin

>You can build the IN (...) clause in VFP and send it to a selectable Firebird stored procedure
>
>In VFP:
>
>SQLExec( hConn, [select * from sp_getacc_detail ( ?m.acc_list )] )
>
>In Firebird select procedure you can build your sql statmenet based on IN clause sent and return details
>The parameter can be a varchar ( up to 32k )

I have some hang-up to use variables in this situation. Plus the users I cannot predict, they might, instead of just running the report and get the full report, might go to the mover and click Select All and we end up with a huge list (:) why have I put in the Select All button when I don't want them to use it? I will remove it alright)

I know you are well versed with FireBird and like I mentioned to Mathias that what he suggested is something that calls for a class to be created to CREATE, INSERT and DROP table in the FireBird database based on the provided cursor name. Do you already have such a class created?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform