Archives
Sometime, in an In Collection Validator, you would get a “Cache Property not in Cache” error. Make sure to check the “No List Cache” check box. This will force to refresh IDO collection in Cache.
Open the component class “UserDefinedType”, go to validator, add one more parameter %2 to the UserDefinedTypeValue validator. Open the validator, make sure %2 is there. Then open the property of the validator. Open the Parameters screen Set %=Description in Set Prop/Var/Comp section. OK all the way back to save the change in Component Class. Now […]
I have been trapped on this more than one time. In order for a method call validator to work, the return value has to be bigger than 5. This is clearly state in the WinStudio document: “If the method returns a value less than 5, WinStudio passes the validation. Otherwise, WinStudio fails the validation. The […]
Problem:
Many business would not allow product shipped to a “PO Box” address. So would like to block any “PO Box” address being entered into any ship to address.
Solution:
1) Enter design mode of “Customer Ship Tos” Form.
2) We are going to first create a script. Go to “Menu -> Edit -> Script”, a Script window should open. Click “New”, enter Script Name called “NoPOBox”, then click OK.