Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Refresh/Freeze in multi user environment problem
Message
De
12/02/2013 06:52:41
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01565701
Message ID:
01565774
Vues:
58
>Hi Dragan,
>
>Thanks for the input
>
>The grid is used for data entry. Would that code still work for in this situation?

Just make the description's textbox.when() return .f. - as a function call it was not editable, with .when() returning .f. it would be inaccessible. Or you may just make that column readonly or something.

>Where would I put the call to replace all the descriptions in the grid?

Before the grid shows - so I guess at the latest in the grid.init(), if not as early as form.load() or wherever in between you open your tables.

If the description may change during the data entry, or you add records, then you'd need to add a record in the cursor too (with appropriate key value), and call the function to fill in the description, whenever any of the fields that the function uses change. Perhaps in the ARCC of the grid just

replace description with myfunction() in crsDescription

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform