Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make a field readonly
Message
De
17/11/2010 23:25:33
 
 
À
17/11/2010 12:50:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01489094
Message ID:
01489507
Vues:
48
>I'm using a DBC and there a number of views defined. The application accesses the tables directly. I believe none of the views are updating data, but I will check. The edit screens use most of the typical controls such as textbox, combo, and grid. You had mentioned a grid control on a form they could cause unexpected change to current workarea whenever they have focus. What do you mean by that and could that be my problem?
>
>Also, you had wondered where I put the .f. in the field rule. I did it when modifying a table in the section where you can define a field rule.

If I'm not mistaken, any rule you defined in a view only is in effect when you access thorugh a view -- that is, if you access the table directly then none of the rules you've defined in the view will be in effect.

Whenever a grid gets focus, it implicitly does a SELECT (workarea) to the one corresponding to the data source of the grid. This could play havoc with any logic that depends on currently selected workarea not changing.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform