Hi,
I have the following problem. I have a filed on the employee table (5200) named is Type. It's a option filed containg Employee,Ex-Employee
On a different table I have a filed linking to this table with the following table relation:
Employee WHERE (Type=CONST(Employee))
So I only want to select the Employee's that are real employees. The problem is that when I select the employee with the drownbutton, the lookupform of the 5200 is opened. Here it goes wrong. The cursor is not on the correct employee. It's on the first employee. I found out that I created a Key that looks like this "Type, No.". So when the form is opened, for some reason it selects that key and then it finds the first record. When I disable the key it works like it should. Does anybody have An idea how to solve this. I also solved the problem to select a view on the lookupform. But that's not what i'm looking for.
Guido
0
Comments
Employee."No." WHERE (Type=CONST(Employee))
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Doesn't seem to do the trick..