Jaziar
asked on
More than one default Value
I have a field that is populated from a dblookup
@DbColumn("": "NoCache"; ""; "(HiddenInternNotifyList)" ; 2)
The field is a dialog box that displays user emails. Do when I select the dialog box I will see
JoeBlow@something.com
Chuck@something.com
Rose@something.com
BobbySock@something.com
My question is there a way to assign default values to the dialog box. When I create a document I want the field to already be assigned to JoeBlow and Rose, if I want to remove them or add others I can do so?
Thanks
@DbColumn("": "NoCache"; ""; "(HiddenInternNotifyList)"
The field is a dialog box that displays user emails. Do when I select the dialog box I will see
JoeBlow@something.com
Chuck@something.com
Rose@something.com
BobbySock@something.com
My question is there a way to assign default values to the dialog box. When I create a document I want the field to already be assigned to JoeBlow and Rose, if I want to remove them or add others I can do so?
Thanks
Yes, it is possible.
In your DialogList you use the upper @formula for choices.
If you like to have DefaultValue, then put this @formula as Field's DefaultValue:
InternNotifyList:=@DbColum n("": "NoCache"; ""; "(HiddenInternNotifyList)" ; 2);
@If(@Elements(InternNotify List)<3;@R eturn("");
@Subset(InternNotifyList;1 ):@Subset( InternNoti fyList;3))
In your DialogList you use the upper @formula for choices.
If you like to have DefaultValue, then put this @formula as Field's DefaultValue:
InternNotifyList:=@DbColum
@If(@Elements(InternNotify
@Subset(InternNotifyList;1
Sorry, take this for DefaultValue:
InternNotifyList:=@DbColum n("": "NoCache"; ""; "(HiddenInternNotifyList)" ; 2);
@If(@Elements(InternNotify List)<3;"" ;@Subset(I nternNotif yList;1):@ Subset(@Su bset(Inter nNotifyLis t;3);-1))
Good luck,
Zvonko
InternNotifyList:=@DbColum
@If(@Elements(InternNotify
Good luck,
Zvonko
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did not think appending would have work - but I guess it does thanks
Then have a button that does an address lookup, and whatever chosen is added to your default list.
I hope this helps !