Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validation on save

Status
Not open for further replies.

061178

Programmer
Jul 7, 2005
41
GB
hi, i have a problem where if 1 field is altered to specific value then a 2nd field should be filled. I can not do this validation soley on the itemchanged event as the 2nd field is not changing. The problem is that the 1st field is filled then the user can simply save with no value being in the 2nd field. I need validation on the before_save event, but there isn't one. I can not find the relevant event id either to create a new event.

Dtails :
window inherited from pfc_u_tabpg
dw inherited from u_dw
 
Perhaps the pfc_validation event could help?

Matt

"Nature forges everything on the anvil of time
 
thanks very much for your help. does this need to be called from of_validation function? If this doesn't exist should I create it? I've basically written the code in the pfc_validation but it isn't being called when I click save.
 
forget that it is calling it and it works great. thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top