Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle .NULL. values in ODBC
Message
 
 
À
22/05/2001 18:14:04
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00510117
Message ID:
00510183
Vues:
16
Patrick,

First, are you sure you want to do this? Null values are perfectly valid values. You can use ISNULL() to determine if any given field is null or not. If it's a display only thing you can use the SET NULLDISPLAY to control how the user sees a .null. value.

>created a database and in that, created a remote view (odbc) to
>an access97 table.
>
>when i browse the view, i can see all fields ok, but the fields
>in the access table that have .null. values show up in my view
>as character fields with value ".null."
>
>how can i substitute a given value in this case ? (e.g. set
>the value to 0 if the access field is .null.) ??
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform