1. Song Tom
  2. PowerBuilder
  3. Tuesday, 23 July 2019

Dear Appeon:

 

    We recently encountered a strange request that old datawindow (under pb10) not allow empty value, empty value will prompt error; but in new PB version, null value is allowed, but this seems not fit our customer's request, have you any good idea to stimulate the behavour like old one 

Kevin Ridley Accepted Answer Pending Moderation
0
Votes
Undo

If you are trying to avoid null values in the arguments, why not check the values before even calling Retrieve(args)?

Comment
There are no comments made yet.
  1. Wednesday, 24 July 2019
  2. PowerBuilder
  3. # 1
Chris Pollach Accepted Answer Pending Moderation
0
Votes
Undo

Hi Tom;

    If you cannot get a DW validation expression to do exactly what you need ... add a script to the EditChanged or ItemChanged event to control precisely what you require validation wise. Note that the ItemChanged event can influence the validation flow based on the Return NN value passed back.

Food for thought.

Regards ... Chris

Comment
There are no comments made yet.
  1. Tuesday, 23 July 2019
  2. PowerBuilder
  3. # 2
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.