Hi all,
I have a dw control on a tabpage with a user event, ue_create_form. On the dw object itself ( datawindow painter ) none of the columns has a validation rule, validation message, or initial value.
Here's the code for ue_create_form:
this.InsertRow(0)
this.SetItem(1,"workorder", il_FormID)
this.SetItem(1,"estimate_date", ldt_now)
this.SetItem( 1, "repair_tech", gi_EmployeeID )
this.SetItem(1,"create_user",sqlca.logid)
this.SetItem(1,"create_date",ldt_now)
this.Update(TRUE,TRUE)
this.SetColumn("estimate_date")
this.SetFocus()
itab_lab.of_set_form_status(this, FORM_NOT_FINISHED)
The first time the form is created, I keep getting a validation message, "Value required for this item". I do use PFC2022, but of_setReqColumn is never called in either the dw control or it's ancestor. If I delete the form, then re-create it, I don't get the message.
It's not a big problem, but it's annoying because I clearly set the value for each column in the ue_create_form event.
I looked in the help file and found something about validation rules and extended properties. However, I couldn't figure out how to get to the extended properties. Directions seem clear, but I still couldn't find it to see if I have any validation rules defined for either the dw object or a column in the dw object.
Any suggestions would be appreciated. Using PB2022 R3 and PFC2022.
~~~Tracy