Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditionally updating fields
Message
From
12/10/2016 07:28:36
 
 
To
12/10/2016 04:20:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01641827
Message ID:
01641848
Views:
59
>>I think I should be able to use IIF() to update only when the parameter passed in is not null.
>
>You can build the update statement based on the new values, and simply not include those which are null or empty.

Thanks, but that's what I wanted to avoid. Using one statement with the IIF() does exactly what I want.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform