Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Codes modification
Message
De
13/04/2007 09:37:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/04/2007 05:58:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01215417
Message ID:
01215494
Vues:
34
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform