Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select 2 records every time
Message
 
 
To
02/11/2009 05:44:00
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01432639
Message ID:
01432680
Views:
41
Also, the syntax to create an Excel file is wrong. You should use COPY TO (myExcelFile) TYPE XL5 and then you can give specific Sheet name through Automation. I sent you a sample in your other thread.

>hi all,
>
>i have at the table 38 records i need to select 2 records evrey time and convert it to excel book
>
>as
>
>select, scan or for  * from mytable first 2records
>copy to book1.sheet1 name is (q1)
>
>next 2 records
>
>copy to book1.sheet2 name is (q2)
>.
>.
>.
>
>end of file
>
>
>thanks
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform