Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to handle .NULL. values in ODBC
Message
 
 
To
22/05/2001 18:14:04
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00510117
Message ID:
00510183
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform