I have an Inactive checkbox on a new Custom tab, the first I've done with such a checkbox. If I enter other data, and attempt to exit the custom tab, I am asked to Save, and I click Yes. After that, I get another dialog box, which states that a "Required value is missing"; "Please enter a value for 'inactive', row 1".
The table originally allowed nulls in that column. I changed that column to default to 'N', but IM is still complaining about a missing value. If I check the checkbox and uncheck it again, it will let me save.
What do I need to do to get IM to save a 'N' by default without having to do that check/uncheck?
Thanks.
Try unchecking the Required checkbox on the Edit tab for the column.
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Chris Jensen Sent: Monday, October 12, 2009 6:12 PM To: Ryan Creps Subject: [Tessitura Technical Forum] "Required value missing" in IM custom tab
This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!
Unknown said: Try unchecking the Required checkbox on the Edit tab for the column.
The field is a Style Type = CheckBox, so there's no Required checkbox on the Edit tab.
I've tried making the field a text box edited to be small CheckBox-like, and the Required checkbox in IM was unchecked (as is the default?), and then I didn't get asked to enter a value, but instead of a checkbox I got a one-character text box with a 'N' in it.
I change the field back to a CheckBox, so it looks the way it should, and the nag to enter a value returns.
Any other ideas? Thanks.
Right…forgot the Required box is not on that edit style.
I assume that you have values for On and Off, “y” and “n” respectively?
Try making the column nullable again. In my example of an inactive column, I’m not prompted for an update if I add a new row and leave the inactive checkbox untouched.
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Chris Jensen Sent: Tuesday, October 13, 2009 10:32 AM To: Ryan Creps Subject: Re: [Tessitura Technical Forum] RE: "Required value missing" in IM custom tab
Ryan Creps: Try unchecking the Required checkbox on the Edit tab for the column.
Ryan Creps:
From: Ryan Creps <bounce-ryancreps9649@tessituranetwork.com> Sent: 10/12/2009 8:25:08 PM
Unknown said: Right…forgot the Required box is not on that edit style. I assume that you have values for On and Off, “y” and “n” respectively? Try making the column nullable again. In my example of an inactive column, I’m not prompted for an update if I add a new row and leave the inactive checkbox untouched.
I've done that, the column is an "inactive char(1) null," once again, and I continue to get the "required value missing".
I notice in the table tx_xref, for example, the same field is defined as
[inactive] [char](1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL CONSTRAINT [DF_TX_XREF_inactive] DEFAULT ('N')
Would the constraint make a difference with IM?
Figured it out. I needed to add a default value 'N' to the field properties -> General tab -> Tag field.
Thanks for your replies, Ryan.
NO problem. Glad you figured it out.
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Chris Jensen Sent: Tuesday, October 13, 2009 12:12 PM To: Ryan Creps Subject: Re: [Tessitura Technical Forum] RE: RE: "Required value missing" in IM custom tab
From: Chris Jensen <bounce-chrisjensen8841@tessituranetwork.com> Sent: 10/13/2009 10:01:54 AM
Ryan Creps: Right…forgot the Required box is not on that edit style. I assume that you have values for On and Off, “y” and “n” respectively? Try making the column nullable again. In my example of an inactive column, I’m not prompted for an update if I add a new row and leave the inactive checkbox untouched.