Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Divide table
Message
From
20/02/2005 08:39:46
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00988673
Message ID:
00988676
Views:
48
hi,
thank you for reply,and help
it works.
thanks so much.

best regards.
m.qasem
>>hi all,
>>i need help to divide my table to 12 tables as month12004,month22004....to 122004. where field(month=1 , 2 , ...12)
>>my table name is combined2004 and i have field month have 1,2,3....12
>>
>>thanks.
>
>FOR p_count = 1 TO 12
>    file_name = "month"+ALLTRIM(STR(p_count))+"2004"
>    SELECT * FROM combined2004 WHERE month = p_count INTO TABLE (file_Name)
>NEXT
>CLOSE ALL
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform