Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UDF in SQL
Message
From
23/11/1998 13:30:59
 
 
To
23/11/1998 12:46:30
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00160448
Message ID:
00160589
Views:
20
>>Right now the table is small, but it has the potential to have thousands of records. Do you know a better way of replacing the abbreviations with the full words?
>>
>>Thanks,
>>
>>-Michelle
>
>Why not create a cursor with the statuses, then join the table to the cursor...
>
>select field1,field2,field3,status.cstatus as cstatus ;
>from myfile,status ;
>where myfile.cstatus = status.cstatus
>
>...........
>You can even index the cursor on cstatus, but with 3 records I don't think it will make a difference. This was, if you get a new status, you wont need to modify some iiif function.
>
>BOb


I could have used you at the begining of this all. :) As I said in my post to Ed P., I realized that it makes much more sense to join to the stat_codes table.

Thanks,

-Michelle
Previous
Reply
Map
View

Click here to load this message in the networking platform