Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 to VFP9, .null. value instead of 0
Message
 
À
17/08/2006 21:54:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01146621
Message ID:
01146624
Vues:
20
>In VFP6, following command shows 0 but in VFP9 it show .null.
>How to get 0 in text11 instead of .null. value.
>
>Please help
>
>SELECT AVLBOOK
>INDEX ON GATE_NO TO AVLBOOK1
>SELECT MAX(GATE_NO) AS MAX_GATE_NO FROM AVLBOOK INTO CURSOR V
>THISFORM.TEXT11.VALUE = MAX_GATE_NO
>
I'm not sure the NULL has anything to do with going from 6 to 9. IAC, you can do this...

THISFORM.TEXT11.VALUE = NVL(MAX_GATE_NO, 0)
Del
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform