Simplicty and flexibility!


Form Open Related using Numbers and Numeric Strings


Started by Peter Birney
Search
You will need to Sign In to be able to add or comment on the forum!

Form Open Related using Numbers and Numeric Strings

I have found that when a Form Open Related uses a Numeric String for its relationship it works fine but when it uses a Number it gives an error 401 Setting Selection Filter error (Derivation formulae in fields appear to work successfully for both types).

Is this simply a by-product of enhancements to DataEase or is it a bug?


Written by Peter Birney 16/07/19 at 10:30:40 Dataease [{8}]FIVE

Re:Form Open Related using Numbers and Numeric Strings

I am wondering if it is something to do with the length of the field - 3 digits appears to work but 5 characters (ie. which would possibly include the comma) does not.


Written by Peter Birney 16/07/19 at 11:39:20 Dataease [{8}]FIVE

Re:Re:Form Open Related using Numbers and Numeric Strings

Download: FormOpen.png

Hi Peter

I think your observation is correct.

FormOpenRelated based on the SaleRef (number)....up to 999 works ok. 

If based on the Sale No, which is a numeric string 99999 - works always.

So best is to create a primary key - unique as numeric string.

Regards

Josef


Written by Josef Vella 19/07/19 at 08:33:05 Dataease [{8}]FIVE

Re:Re:Re:Form Open Related using Numbers and Numeric Strings

or else you can use UniqueID() which generates a unique 16 digit alphanumeric code


Written by Josef Vella 19/07/19 at 08:45:17 Dataease [{8}]FIVE

Re:Re:Form Open Related using Numbers and Numeric Strings

The problem is related to windows configuration. If you have thousand separator it will fail.


Written by DataEase 19/07/19 at 12:06:30 Dataease [{8}]FIVE