Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql statement
Message
From
04/10/2001 05:16:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00563723
Message ID:
00564001
Views:
23
>thanks, I thought I saw codes in the past to do that with sql statement? but anyway, thanks.
>sherry

If SQL is a must :

select padr(transform(myField1),40),padl(recno(),5,'0')+'_1' ;
from myTable ;
union ;
select padr(transform(myField2),40),padl(recno(),5,'0')+'_2' ;
from myTable ;
order by 2 ;
into cursor crsCombo

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform