Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » Default Value For Item (Apex 4.0,win8,Oracle 10g )
Default Value For Item [message #628447] Tue, 25 November 2014 06:05 Go to next message
Xandot
Messages: 235
Registered: January 2014
Location: India
Senior Member
Hello,

I have one list type item with null value like (0-none,1-first,2-second,3-third) and its default value is 0,when user select nothing into the item and save it but default value still showing "none" instead of null.

If user select null option then the form should be show null value into the item. Please help me out.

Thanks,
Xandot
Re: Default Value For Item [message #628448 is a reply to message #628447] Tue, 25 November 2014 06:30 Go to previous message
Littlefoot
Messages: 21806
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Do you know what you are doing? I don't think so.

If you set the default value to 0, then - if user doesn't select anything - 0 is saved into the column. That's what you did, obviously intentionally (as values aren't automagically entered into the Default Value property). So, why are you that puzzled?
Previous Topic: Creating a Custom Project ID
Next Topic: Import apex application from a database to another
Goto Forum:
  


Current Time: Thu Mar 28 10:51:39 CDT 2024