Hi there,I’ve got a popup in which a select-box w/ entries from NAB is displayed. Now I wanted to give the user the possibility to switch between “all entries” (@dbcolumn) and “my entries” (@dblookup w/ username). I created a checkbox which should do this. Depending on if it is checked (value=1) or not, the select-box should use @dblookup or @dbcolumn to retrieve the entries.
So far, so good, but how can I do a reload w/out resetting the checkbox’ value !?
Any ideas?
Thanks in advance,
Buzzy
Subject: RE: Keep values in Popup
I’m not sure I understand the question. When you talk about resetting the checkbox value, are you actually talking about your selection field? Your subject refers to a popup but your text doesn’t mention one.
To keep any selections the user has already made available in the field, use the field in the keyword formula. E.g.
@If(checkbox = “”; @DbColumn(…); @DbLookup(…) : selectbox)
where checkbox and selectbox are the names of your fields.
Subject: RE: Keep values in Popup
Hi Andre,thanks for your hint, but I’ll first give Thierry’s cookie-solution a try - I always wanted to check out the usage cokkies 
Buzzy
Subject: Keep values in Popup
Hi Buzzy,
Not sure to understand what you want to do but an idea to keep (and retrieve) the checkbox value : you can use a profile document.
Something like this :
In WebQuerySave of popup, run an agent to get and keep the checkbox value and create (or set) the profile document :
@SetProfileField(“profileDocname”; “profileDocFieldName”; checkvalue);
In WebQueryOpen run an agent to get this value and set the chekbox field :
FIELD CheckBoxField := @GetProfileField(“profileDocname”; “profileDocFieldName”);
“”
Look Designer help for more about profile document.
HTH
Thierry
PS : Also, you can use a cookie…
Subject: RE: Keep values in Popup
Hi,for I alread had trouble w/ ProfileDocs in web-apps, I’ll try it w/ cookies 
Thanks,
Buzzy