Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.Null.-value instead of number
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01677502
Message ID:
01677509
Vues:
41
Hi Naomi,

thank you for your advise.

Best regards

Thomas

>Take a look at the SET ENGINEBEHAVIOR setting in Help. I would >recommend to add NVL in code after getting the result, though.

>Hi there,
>
>in VFP8 I could do the following qzery:
>
>SELECT sum(betrag) FROM faktur WHERE kundennr = 9999999 INTO Cursor mycursor WHERE kundennr = 9999999
>
>and get a Cursor with a numeric field (or an array[1]-value) containg the value 0 when the query did not get any records.
>
>In VFP9 I get the field of my result-cursor filled with .NULL.
>I know I could use the nvl-function zo get the result as number 0 but I would like to know if I have missed a setting in VFP9 to emulate the old behaviour.
>
>Best regards
>
>Thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform