Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number to string
Message
 
To
12/10/2001 03:20:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00567085
Message ID:
00567624
Views:
16
>Nick,
>
>Try the following in the command window
>
>Create cursor fred (field1 C(1))
>? dbf()
>
>
>You will (hopefully) notice that the file is given a unique filename automatically so you won't have a problem with this.
>
>On top of this if your users are running this code (which resides on a server) from their machines then you can store this kind of stuff locally (which will probably give you a performance improvement) but it all depends on what you are trying to do.
>
>I haven't seen the other thread to which Nadya is referring.. maybe all this has been covered.
>
>HTH
>
>Will
>
>>One reason I was using randomly named cursor was becasue this program will reside on a server, and serveral people may run the same method that creates these cursors. I have cleaned up the code as you recommended (I admit less complex), I just want to make sure that data retrieved by one user doesn't overwrite data retrieve by another user when using these cursors at same time. If these cursor are created dyanamically, can two people use same cursor name with different data for each users? If so, you've made my life lot easier to deal with. If not, the only thing I can think up is randomly named cursors.
>>
>>Thanks
>>Nick Patel
>>"still learning the hardway"



I didn't know this part until today, thanks for clarifying this Will.
Previous
Reply
Map
View

Click here to load this message in the networking platform