On T27 Item a new field is added: MyField code 10
on T37 Sales Line, I'm trying to make a lookup flowfield to MyField.
I copied the field, and set it as Flowfield, lookup.
Lookup(Item.MyField WHERE (No.=FIELD(No.)))
How can I also filter, so I only get the value, when Sales Line.Type = Item ?
My own guess is the OnLookup trigger.
EDIT:
Onlookup didn't work for me.
Tried this:
IF Type <> Type::Item THEN
MyField := '';
A trigger on the form perhaps?
0
Comments
At the moment I do the following on the form on the OnFormat trigger of the ctrl.
It works, but still feels somewhat "wrong".
Might go with the function.
http://www.BiloBeauty.com
http://www.autismspeaks.org