Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace .NULL. values in a cursor
Message
From
06/10/2006 10:29:28
 
 
To
06/10/2006 10:24:22
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01160024
Message ID:
01160029
Views:
9
>This will work with character fields, but do I have to build in conditional IIF logic for all field types?
>
>
>
>SCAN
>	SELECT iaccts
>	SCAN
>		FOR I = 1 TO FCOUNT()
>			REPLACE (FIELD(I)) WITH IIF(EVALUATE(FIELD(I))='.NULL.','',EVALUATE(FIELD(I)))
>		NEXT
>	ENDSCAN
>ENDSCAN
>
See Set NullDisplay in help.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform