Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert 'fieldB' in a grid if 'fieldA' is empty
Message
De
13/05/2014 04:14:42
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
12/05/2014 23:33:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01599900
Message ID:
01599905
Vues:
65
>Hi. VFP7 user. I am working with a grid. I want to say
>
IIF ( EMPTY(fieldA), fieldB, fieldA )
>I tried placing the code in the control source. Got "must be a variable ref" error.
>My q: where can I put this code where it will act on every row of the grid?
>
>thanks, Randy

Addition to Al Domans message: I prefer to add the alias to the fields.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform