|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-781F53F0-0F84-4BF9-A565-C2E7333521CE" xml:lang="en"><title>Data |
|
13 queries with multiple fields</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>It is possible to have two input fields in a Data query. An example of |
|
15 this is a user name and password query: one field is a normal alphanumeric |
|
16 editor and the other a password editor. In this case, a press of the Selection |
|
17 key moves the insertion point from the first field to the next; in the second |
|
18 field it accepts the query. The left softkey always accepts the query. The |
|
19 user can also move from one field to the other using the Arrow up and Arrow |
|
20 down keys. Note that in landscape orientation it may not be feasible to use |
|
21 a query with multiple fields and alternative solutions may be necessary, for |
|
22 example, launching one query first for user name and on pressing Ok' another |
|
23 query is launched for password.</p> |
|
24 <fig id="GUID-047D024E-80CD-43D7-8A2C-8144C257820F"> |
|
25 <title>Data query with two input fields</title> |
|
26 <image href="GUID-51F63BFF-CD62-4FFC-929D-ED778642044E_d0e87044_href.png" scale="40" placement="inline"/> |
|
27 </fig> |
|
28 <section><title>Using data queries with |
|
29 multiple fields in C++ applications</title><p>For implementation information, |
|
30 see <xref href="GUID-7B275129-5EF7-4B27-B603-3BDE2C650A93.dita">Queries</xref>.</p></section> |
|
31 </conbody></concept> |