PDA

View Full Version : Newbie questions



gs
7-Nov-2007, 11:57 AM
Hi team/all,

a few newbie questions just to get myself started:

1. how (if possible) to get 'calculated fields' (e.g. concatenation of
a person's title + first- and family-name in 1 field) in a simple way?

2. re. vdfsuggestsource="find"
a. using this -very nice- feature on a field that's declared
'Capslock' in the DD, I find it necessary to physically press the
Shift-key in order to get any suggestions.
b. how to set the max number of suggestions to higher than 10? If I
(silly example, admittedly) want the number 711 and the suggestionrange
is 701-710, the moment I have typed the first '1' the list will
dispappear. Alternatively, it would be nice if the range of suggested
values shifted in response to what's already typed in (I know, give us
Dutch a finger and next thing we're clamouring for the whole hand :-) )

Greetings,
Gerard.

gs
8-Nov-2007, 06:44 AM
Re:
> 2. re. vdfsuggestsource="find"
> a. using this -very nice- feature on a field that's declared
> 'Capslock' in the DD, I find it necessary to physically press the
> Shift-key in order to get any suggestions.

Appears to depend on the browser. As described: Firefox & Opera; works
OK: IE. In Opera the 'capslock' itself isn't even recognized.

Gerard.

Harm Wibier
12-Nov-2007, 03:05 AM
Hello Gerard,

1. The "calculated fields" can be created (outside grids) by using user
data fields. These are fields that do not have "__" in their name and can be
filled on the server in the OnRequestSetEnd event using the
SetResponseUserData method.

2 a. I will take a look at the capslock problem. Note that we currently
only support IE & FF.
b. The amount of suggestions displayed can be set using the
vdfSuggestLength attribute.
Suggestionsource find works like this: It performs a find GE on the field
and keeps repeating it until nothing is found or the maximum amount of
suggestions is reached. Then it loops through the set of results and removes
the values of which the first characters do not match the current field
value.

--
Regards,


Harm Wibier
Data Access Europe B.V.
http://www.dataaccess.nl/

"gs" <gs@laarmanvwaay.nl> wrote in message
news:HmRrBzfIIHA.2312@dacmail.dataaccess.com...
> Re:
>> 2. re. vdfsuggestsource="find"
>> a. using this -very nice- feature on a field that's declared
>> 'Capslock' in the DD, I find it necessary to physically press the
>> Shift-key in order to get any suggestions.
>
> Appears to depend on the browser. As described: Firefox & Opera; works OK:
> IE. In Opera the 'capslock' itself isn't even recognized.
>
> Gerard.