1. Song Tom
  2. PowerBuilder
  3. Tuesday, 23 July 2019 09:52 AM UTC

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
  1. Wednesday, 24 July 2019 11:36 AM UTC
  2. PowerBuilder
  3. # 1

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.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 23 July 2019 14:13 PM UTC
  2. PowerBuilder
  3. # 2

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.
  • Page :
  • 1


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