Juan Pablo Addeo 25.Mar.08 11:30 AM a Web browser Domino DesignerAll ReleasesWindows XP; Windows NT; Windows 98
Hello!
I have a question...it's possible use @DbLookUp in a View Selection Object??
I asked it because i am working in a view and I need use an @DbLookUp to search a value and later compare it with a field.
The idea be the following:
I have a view (Importo2) that contains the relation User and Branchs (Usuario <--> Sucursal). I need to search the branch belonging to the user and compare it with a field (cSuc) of the form ("Suc1"). The idea is that the view only shows the docs of the current logged user's branch.
I am using the following formula, but it doesn't work...
View Selection:
v_suc:=@DbLookup("":"NoCache";"":"";"Importo2";@Name([Abbreviate];@UserName);2);
SELECT Form = "Suc1" & cSuc = v_suc
Note: All components are in the same db.
Please!!! If anybody can help me, I will be very thankful!!
P.D.: Sorry for my bad English...I am writing from Argentina :P!!