Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use ... in 0 and select()
Message
From
29/02/2000 15:35:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
29/02/2000 09:03:13
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00338074
Message ID:
00339379
Views:
18
>>It may, depending on the parameter you pass it. Check help for select(1) and select(0), they do have different meaning from select(). One of them should return the first unused, and the other the highest used workarea - but I actually never needed it, so I don't remember which is which. Don't trust me, therefore, better check the help.
>
>PMFJI, Does it really matter what work area a table is in? When there was a limit of 25 work areas (Fox2.0?) i could understand wanting to know how many were used, or using a specific work area number. With VFP6, by the time you hit the work area limit, you should be re-writing your code to clean up after itself and close some tables it isn't using.
>
>This is the same concept as caring where the fields are physically placed in a table. Since only the developer should ever look directly at the table, the user should only see the records through a View or Grid- therefore it makes no difference where the field falls in the fieldlist.

Of course the last used or first unused workarea don't really matter, but I have just taken it for customary here to never ask "what do you need it for" until we get stuck. Usually saves a lot of explanation, and the originator usually gets the point without others getting too involved in his style of work. I also didn't use select(0) or select(1) for some 8-9 years now (if I remember well), but they're still there if someone needs them.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform