Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange coding question...
Message
De
07/06/2001 09:39:22
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Strange coding question...
Divers
Thread ID:
00516288
Message ID:
00516288
Vues:
51
When populating columns in a grid, I have some code that goes like this:
.column1.controlsource=iif(cust.type='R','rfinan.acct','lfinan.acct')
This works for 99% of my customers. However 1 customer complained that this column did not show anything. He sent me his data and sure enough it showed nothing. After pulling my hair out for about an hour inspiration struck and I chaged the code to read:
.column1.controlsource="iif(cust.type='R',rfinan.acct,lfinan.acct)" and it now works everywhere.
Question: Why did the first version ever work?
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform