Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Codes modification
Message
From
13/04/2007 09:37:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/04/2007 05:58:41
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01215417
Message ID:
01215494
Views:
32
>Dear Experts
>
>I have a dbf named Bank. Following codes work fine when dbf is opend exclusively.
>How will these codes work when dbf is not open exclusively. In other words please modify these codes to work in multiuser environmnet.
>
>	SELECT * FROM bank ORDER BY bankname INTO table bbank
>
>	SELECT banks
>	ZAP
>	APPEND FROM DBF("bbnks") && this will change natural sort order
>
>	select banks
>	set order to
>	go top
>	aa=1
>	do while !eof()
>		replace code with aa  && code is changed according to bank alphabetic sort order
>		skip
>		aa=aa+1
>		loop
>	ENDDO
>
Tariq,
If multiuser means that you can't lock the table in any way and there maybe someone using a record then no way.
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