Haggis
23rd July 2002, 11:19
Hi

Hope this is not a silly question but I have a form that needs Business partner From and To on it. How would I default the To field so it takes the last value, so that if nothing is entered for Business Partner it includes everything?

I notice on other forms that it makes the initial value equal to fmax($#). I did this but get the error:

Process 22 - Error : Syntax error in expression: value 0 assumed (<715>() in object ottstpstandard)

Any help?

MariaC
23rd July 2002, 12:44
What you have done is correct. Maybe there is a bug in your tools version? The error is coming from ottstpstandard so maybe there is a patch. Does the error go away when you take the initial value out?

Haggis
23rd July 2002, 13:41
Hi Maria

Thanks for the reply. I was being an a**. The brackets [ and ( come out the same in Baan and I had the wrong ones.

More coffee please!

Thanks