SELECT user value for null

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
Bishu
User
Posts: 429

SELECT user value for null

Post by Bishu »

In a field I am using a SELECT with the User Value.
The Field content the NULL, 0, 1 and I want the User Value as
NULL = --
0 = A
1 = P

The user value of 0 and 1 is showing but For the NULL value is not showing.
I try using -
null, NULL, '', "", ' ', " "
But unable to get the User Value of NULL.


mobhar
User
Posts: 11703

Post by mobhar »

What is the Field type for that user value in your Database?


Bishu
User
Posts: 429

Post by Bishu »

Field type in INT


mobhar
User
Posts: 11703

Post by mobhar »

It should work, as I've just tried it in here, and the NULL option is shown up properly.

Make sure you have already regenerated ALL the script files.


Post Reply