Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Default value doesn't work in data window.

$
0
0

We recently added a new column to a long established table. It's a one character yes/no column. The DBA tells me that this is an attribute "Named default "Set_to_N" is bound to Telephone.Preferred_Num.  The problem is that when I add a new row in that datawindow in my application, I get a message "Required value missing for preferred_Num on row 3.  Please enter a value."   If I check the box and then uncheck it, I'm able to save the row.  So it seems like the "Set_to_N" is not taking effect.  Is there a default value property I can get at in the datawindow painter?  My current idea is that I have to do something in the catalog tables, but I can't figure out how to get to them.  It's been many years, over a decade, since I've done that.  Googling hasn't helped me.  I'm running 12.5.  How do I get to them?

 

Other info

When a new row is added in the datawindow I get no error, but neither is the row actually saved to the database.

I can add a new row to that table via a SQL statement without setting the value of the preferred_num column.  It is automatically set to 'N'.

 

TIA

LAS


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>