1*81d089aeSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*81d089aeSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*81d089aeSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*81d089aeSAndrew Rist * distributed with this work for additional information
6*81d089aeSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*81d089aeSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*81d089aeSAndrew Rist * "License"); you may not use this file except in compliance
9*81d089aeSAndrew Rist * with the License.  You may obtain a copy of the License at
10*81d089aeSAndrew Rist *
11*81d089aeSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*81d089aeSAndrew Rist *
13*81d089aeSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*81d089aeSAndrew Rist * software distributed under the License is distributed on an
15*81d089aeSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*81d089aeSAndrew Rist * KIND, either express or implied.  See the License for the
17*81d089aeSAndrew Rist * specific language governing permissions and limitations
18*81d089aeSAndrew Rist * under the License.
19*81d089aeSAndrew Rist *
20*81d089aeSAndrew Rist *************************************************************/
21*81d089aeSAndrew Rist
22*81d089aeSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "dbaccess_helpid.hrc"
25cdf0e10cSrcweir#include "dbu_dlg.hrc"
26cdf0e10cSrcweir#include "advancedsettings.hrc"
27cdf0e10cSrcweir
28cdf0e10cSrcweir//-------------------------------------------------------------------------
29cdf0e10cSrcweir
30cdf0e10cSrcweir#define AUTO_DATAHANDLING(AUTO_Y)                                                   \
31cdf0e10cSrcweir    FixedLine FL_DATAHANDLING                                                       \
32cdf0e10cSrcweir    {                                                                               \
33cdf0e10cSrcweir        Pos = MAP_APPFONT ( RELATED_CONTROLS , AUTO_Y ) ;                           \
34cdf0e10cSrcweir        Size = MAP_APPFONT ( ADVANCED_PAGE_X - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;        \
35cdf0e10cSrcweir        Text [ en-US ] = "Options";                                                 \
36cdf0e10cSrcweir    };
37cdf0e10cSrcweir
38cdf0e10cSrcweir//-------------------------------------------------------------------------
39cdf0e10cSrcweir
40cdf0e10cSrcweir#define AUTO_SQL92CHECK(AUTO_Y)                                                     \
41cdf0e10cSrcweir    CheckBox CB_SQL92CHECK                                                          \
42cdf0e10cSrcweir    {                                                                               \
43cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y) ;                                       \
44cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;           \
45cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
46cdf0e10cSrcweir        HelpId = HID_DSADMIN_SQL92CHECK;                                            \
47cdf0e10cSrcweir        Text[ en-US ] = "Use SQL92 naming constraints";                             \
48cdf0e10cSrcweir    };
49cdf0e10cSrcweir
50cdf0e10cSrcweir//-------------------------------------------------------------------------
51cdf0e10cSrcweir
52cdf0e10cSrcweir#define AUTO_APPENDTABLEALIAS(AUTO_Y)                                               \
53cdf0e10cSrcweir    CheckBox CB_APPENDTABLEALIAS                                                    \
54cdf0e10cSrcweir    {                                                                               \
55cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
56cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12  , CHECKBOX_HEIGHT ) ;          \
57cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
58cdf0e10cSrcweir        HelpId = HID_DSADMIN_APPENDTABLEALIAS;                                      \
59cdf0e10cSrcweir        Text[ en-US ] = "Append the table alias name on SELECT statements";         \
60cdf0e10cSrcweir    };
61cdf0e10cSrcweir
62cdf0e10cSrcweir//-------------------------------------------------------------------------
63cdf0e10cSrcweir
64cdf0e10cSrcweir#define AUTO_AS_BEFORE_CORR_NAME(AUTO_Y)                                            \
65cdf0e10cSrcweir    CheckBox CB_AS_BEFORE_CORR_NAME                                                 \
66cdf0e10cSrcweir    {                                                                               \
67cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
68cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12  , CHECKBOX_HEIGHT ) ;          \
69cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
70cdf0e10cSrcweir        HelpId = HID_DSADMIN_AS_BEFORE_CORRELATION_NAME;                            \
71cdf0e10cSrcweir        Text[ en-US ] = "Use keyword AS before table alias names";                  \
72cdf0e10cSrcweir    };
73cdf0e10cSrcweir
74cdf0e10cSrcweir//-------------------------------------------------------------------------
75cdf0e10cSrcweir
76cdf0e10cSrcweir#define AUTO_ENABLEOUTERJOIN(AUTO_Y)                                                \
77cdf0e10cSrcweir    CheckBox CB_ENABLEOUTERJOIN                                                     \
78cdf0e10cSrcweir    {                                                                               \
79cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
80cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;           \
81cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
82cdf0e10cSrcweir        HelpId = HID_DSADMIN_ENABLEOUTERJOIN;                                       \
83cdf0e10cSrcweir        Text [ en-US ] = "Use Outer Join syntax '{OJ }'";                           \
84cdf0e10cSrcweir    };
85cdf0e10cSrcweir
86cdf0e10cSrcweir
87cdf0e10cSrcweir//-------------------------------------------------------------------------
88cdf0e10cSrcweir
89cdf0e10cSrcweir#define AUTO_IGNOREDRIVER_PRIV(AUTO_Y)                                              \
90cdf0e10cSrcweir    CheckBox CB_IGNOREDRIVER_PRIV                                                   \
91cdf0e10cSrcweir    {                                                                               \
92cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
93cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;           \
94cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
95cdf0e10cSrcweir        HelpId = HID_DSADMIN_IGNOREDRIVER_PRIV;                                     \
96cdf0e10cSrcweir        Text[ en-US ] = "Ignore the privileges from the database driver";           \
97cdf0e10cSrcweir    };
98cdf0e10cSrcweir
99cdf0e10cSrcweir//-------------------------------------------------------------------------
100cdf0e10cSrcweir
101cdf0e10cSrcweir#define AUTO_PARAMETERNAMESUBST(AUTO_Y)                                             \
102cdf0e10cSrcweir    CheckBox CB_PARAMETERNAMESUBST                                                  \
103cdf0e10cSrcweir    {                                                                               \
104cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y) ;                                       \
105cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;           \
106cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
107cdf0e10cSrcweir        HelpId = HID_DSADMIN_PARAMETERNAMESUBST;                                    \
108cdf0e10cSrcweir        Text[ en-US ] = "Replace named parameters with '?'";                        \
109cdf0e10cSrcweir    };
110cdf0e10cSrcweir
111cdf0e10cSrcweir//-------------------------------------------------------------------------
112cdf0e10cSrcweir
113cdf0e10cSrcweir#define AUTO_SUPPRESVERSIONCOLUMN(AUTO_Y)                                           \
114cdf0e10cSrcweir    CheckBox CB_SUPPRESVERSIONCL                                                    \
115cdf0e10cSrcweir    {                                                                               \
116cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
117cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;           \
118cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
119cdf0e10cSrcweir        HelpId = HID_DSADMIN_SUPPRESS_VERSIONCL;                                    \
120cdf0e10cSrcweir        Text [ en-US ] = "Display version columns (when available)";                \
121cdf0e10cSrcweir    };
122cdf0e10cSrcweir
123cdf0e10cSrcweir//-------------------------------------------------------------------------
124cdf0e10cSrcweir
125cdf0e10cSrcweir#define AUTO_CATALOG(AUTO_Y)                                                        \
126cdf0e10cSrcweir    CheckBox CB_CATALOG                                                             \
127cdf0e10cSrcweir    {                                                                               \
128cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
129cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;           \
130cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
131cdf0e10cSrcweir        HelpId = HID_DSADMIN_CATALOG;                                               \
132cdf0e10cSrcweir        Text [ en-US ] = "Use catalog name in SELECT statements";                   \
133cdf0e10cSrcweir    };
134cdf0e10cSrcweir
135cdf0e10cSrcweir
136cdf0e10cSrcweir//-------------------------------------------------------------------------
137cdf0e10cSrcweir
138cdf0e10cSrcweir#define AUTO_SCHEMA(AUTO_Y)                                                         \
139cdf0e10cSrcweir    CheckBox CB_SCHEMA                                                              \
140cdf0e10cSrcweir    {                                                                               \
141cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
142cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;           \
143cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
144cdf0e10cSrcweir        HelpId = HID_DSADMIN_SCHEMA;                                                \
145cdf0e10cSrcweir        Text [ en-US ] = "Use schema name in SELECT statements";                    \
146cdf0e10cSrcweir    };
147cdf0e10cSrcweir
148cdf0e10cSrcweir//-------------------------------------------------------------------------
149cdf0e10cSrcweir
150cdf0e10cSrcweir#define AUTO_IGNOREINDEXAPPENDIX(AUTO_Y)                                            \
151cdf0e10cSrcweir    CheckBox CB_IGNOREINDEXAPPENDIX                                                 \
152cdf0e10cSrcweir    {                                                                               \
153cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
154cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12  , CHECKBOX_HEIGHT ) ;          \
155cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
156cdf0e10cSrcweir        HelpId = HID_DSADMIN_IGNOREINDEXAPPENDIX;                                   \
157cdf0e10cSrcweir        Text[ en-US ] = "Create index with ASC or DESC statement";                  \
158cdf0e10cSrcweir    };
159cdf0e10cSrcweir
160cdf0e10cSrcweir//-------------------------------------------------------------------------
161cdf0e10cSrcweir
162cdf0e10cSrcweir#define AUTO_DOSLINEENDS(AUTO_Y)                                                    \
163cdf0e10cSrcweir    CheckBox CB_DOSLINEENDS                                                         \
164cdf0e10cSrcweir    {                                                                               \
165cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
166cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;           \
167cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
168cdf0e10cSrcweir        HelpId = HID_DSADMIN_DOSLINEENDS;                                           \
169cdf0e10cSrcweir        Text [ en-US ] = "End text lines with CR+LF";                               \
170cdf0e10cSrcweir    };
171cdf0e10cSrcweir
172cdf0e10cSrcweir//-------------------------------------------------------------------------
173cdf0e10cSrcweir#define AUTO_IGNORECURRENCY(AUTO_Y)											        \
174cdf0e10cSrcweir	CheckBox CB_IGNORECURRENCY														\
175cdf0e10cSrcweir	{																				\
176cdf0e10cSrcweir		Pos		= MAP_APPFONT ( 6 , AUTO_Y ) ;										\
177cdf0e10cSrcweir		Size	= MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;			\
178cdf0e10cSrcweir		TabStop = TRUE ;															\
179cdf0e10cSrcweir		HelpId = HID_DSADMIN_IGNORECURRENCY;										\
180cdf0e10cSrcweir		Text [ en-US ] = "Ignore currency field information";						\
181cdf0e10cSrcweir	};
182cdf0e10cSrcweir
183cdf0e10cSrcweir//-------------------------------------------------------------------------
184cdf0e10cSrcweir
185cdf0e10cSrcweir#define AUTO_CHECKREQUIRED(AUTO_Y)                                                  \
186cdf0e10cSrcweir    CheckBox CB_CHECK_REQUIRED                                                      \
187cdf0e10cSrcweir    {                                                                               \
188cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
189cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;           \
190cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
191cdf0e10cSrcweir        HelpId = HID_DSADMIN_CHECK_REQUIRED_FIELDS;                                 \
192cdf0e10cSrcweir        Text [ en-US ] = "Form data input checks for required fields";            \
193cdf0e10cSrcweir    };
194cdf0e10cSrcweir
195cdf0e10cSrcweir#define AUTO_ESCAPE_DATETIME(AUTO_Y)                                                \
196cdf0e10cSrcweir    CheckBox CB_ESCAPE_DATETIME                                                     \
197cdf0e10cSrcweir    {                                                                               \
198cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
199cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;           \
200cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
201cdf0e10cSrcweir        HelpId = HID_DSADMIN_ESCAPE_DATETIME;                                       \
202cdf0e10cSrcweir        Text [ en-US ] = "Use ODBC conformant date/time literals";                  \
203cdf0e10cSrcweir    };
204cdf0e10cSrcweir
205cdf0e10cSrcweir
206cdf0e10cSrcweir#define AUTO_PRIMARY_KEY_SUPPORT(AUTO_Y)                                            \
207cdf0e10cSrcweir    CheckBox CB_PRIMARY_KEY_SUPPORT                                                 \
208cdf0e10cSrcweir    {                                                                               \
209cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
210cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X - 12 , CHECKBOX_HEIGHT ) ;          \
211cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
212cdf0e10cSrcweir        HelpId = HID_DSADMIN_PRIMARY_KEY_SUPPORT;                                   \
213cdf0e10cSrcweir        Text [ en-US ] = "Supports primary keys";                                   \
214cdf0e10cSrcweir    };
215cdf0e10cSrcweir
216cdf0e10cSrcweir#define AUTO_RESPECTRESULTSETTYPE(AUTO_Y)                                            \
217cdf0e10cSrcweir    CheckBox CB_RESPECTRESULTSETTYPE                                                 \
218cdf0e10cSrcweir    {                                                                               \
219cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                      \
220cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X - 12 , CHECKBOX_HEIGHT ) ;          \
221cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
222cdf0e10cSrcweir        HelpId = HID_DSADMIN_RESPECTRESULTSETTYPE;                                   \
223cdf0e10cSrcweir        Text [ en-US ] = "Respect the result set type from the database driver";                                   \
224cdf0e10cSrcweir    };
225cdf0e10cSrcweir
226cdf0e10cSrcweir
227cdf0e10cSrcweir//-------------------------------------------------------------------------
228cdf0e10cSrcweir
229cdf0e10cSrcweir#define WORKAROUND                                                                  \
230cdf0e10cSrcweir        StringList [ en-US ] =                                                      \
231cdf0e10cSrcweir		{                                                                           \
232cdf0e10cSrcweir			< "Default" ; Default ; > ;                                             \
233cdf0e10cSrcweir			< "SQL" ; Default ; > ;                                                 \
234cdf0e10cSrcweir			< "Mixed" ; Default ; > ;                                               \
235cdf0e10cSrcweir			< "MS Access" ; Default ; > ;                                           \
236cdf0e10cSrcweir		};
237cdf0e10cSrcweir
238cdf0e10cSrcweir
239cdf0e10cSrcweir#define AUTO_BOOLEANCOMPARISON(AUTO_Y)                                              \
240cdf0e10cSrcweir    FixedText FT_BOOLEANCOMPARISON                                                  \
241cdf0e10cSrcweir    {                                                                               \
242cdf0e10cSrcweir        Pos     = MAP_APPFONT ( START_X , AUTO_Y + ( LISTBOX_HEIGHT - CHECKBOX_HEIGHT ) / 2 ) ;   \
243cdf0e10cSrcweir        Size    = MAP_APPFONT ( 100 , CHECKBOX_HEIGHT );                            \
244cdf0e10cSrcweir        Text [ en-US ] = "Comparison of Boolean values";                            \
245cdf0e10cSrcweir    };                                                                              \
246cdf0e10cSrcweir    ListBox LB_BOOLEANCOMPARISON                                                    \
247cdf0e10cSrcweir    {                                                                               \
248cdf0e10cSrcweir        Pos     = MAP_APPFONT ( START_X + 100, AUTO_Y ) ;                           \
249cdf0e10cSrcweir        Size    = MAP_APPFONT ( 60 , LISTBOX_HEIGHT ) ;                             \
250cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
251cdf0e10cSrcweir        SvLook = TRUE;                                                              \
252cdf0e10cSrcweir        DropDown = TRUE;                                                            \
253cdf0e10cSrcweir        Border = TRUE;                                                              \
254cdf0e10cSrcweir        HelpId = HID_DSADMIN_BOOLEANCOMPARISON;                                     \
255cdf0e10cSrcweir        WORKAROUND                                                                  \
256cdf0e10cSrcweir    };                                                                              \
257cdf0e10cSrcweir
258cdf0e10cSrcweir#define AUTO_MAXROWSCAN(AUTO_Y)                                              \
259cdf0e10cSrcweir    FixedText FT_MAXROWSCAN                                                  \
260cdf0e10cSrcweir    {                                                                               \
261cdf0e10cSrcweir        Pos     = MAP_APPFONT ( START_X , AUTO_Y + ( LISTBOX_HEIGHT - CHECKBOX_HEIGHT ) / 2 ) ;   \
262cdf0e10cSrcweir        Size    = MAP_APPFONT ( 100 , CHECKBOX_HEIGHT );                            \
263cdf0e10cSrcweir        Text [ en-US ] = "Rows to scan column types";                               \
264cdf0e10cSrcweir    };                                                                              \
265cdf0e10cSrcweir    NumericField NF_MAXROWSCAN                                                      \
266cdf0e10cSrcweir    {                                                                               \
267cdf0e10cSrcweir        Pos     = MAP_APPFONT ( START_X + 100, AUTO_Y ) ;                           \
268cdf0e10cSrcweir        Size    = MAP_APPFONT ( 60 , EDIT_HEIGHT ) ;                                \
269cdf0e10cSrcweir        TabStop = TRUE ;                                                            \
270cdf0e10cSrcweir        NoThousandSep = TRUE;                                                       \
271cdf0e10cSrcweir        Border = TRUE;                                                              \
272cdf0e10cSrcweir        HelpId = HID_DSADMIN_MAXROWSCAN;                                            \
273cdf0e10cSrcweir    };                                                                              \
274cdf0e10cSrcweir
275cdf0e10cSrcweir
276cdf0e10cSrcweir//-------------------------------------------------------------------------
277cdf0e10cSrcweir
278cdf0e10cSrcweirTabPage PAGE_GENERATED_VALUES
279cdf0e10cSrcweir{
280cdf0e10cSrcweir    HelpID = "dbaccess:TabPage:PAGE_GENERATED_VALUES";
281cdf0e10cSrcweir    SVLook = TRUE ;
282cdf0e10cSrcweir    Pos = MAP_APPFONT ( 0 , 0 ) ;
283cdf0e10cSrcweir    Size = MAP_APPFONT ( ADVANCED_PAGE_X , ADVANCED_PAGE_Y ) ;
284cdf0e10cSrcweir    Hide = TRUE;
285cdf0e10cSrcweir
286cdf0e10cSrcweir    FixedLine FL_SEPARATORAUTO
287cdf0e10cSrcweir    {
288cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4, UNRELATED_CONTROLS ) ;
289cdf0e10cSrcweir        Size = MAP_APPFONT ( ADVANCED_PAGE_X - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
290cdf0e10cSrcweir        Text [ en-US ] = "Settings";
291cdf0e10cSrcweir    };
292cdf0e10cSrcweir
293cdf0e10cSrcweir    CheckBox CB_RETRIEVE_AUTO
294cdf0e10cSrcweir    {
295cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS) ;
296cdf0e10cSrcweir        Size    = MAP_APPFONT ( ADVANCED_PAGE_X - 2*UNRELATED_CONTROLS , CHECKBOX_HEIGHT ) ;
297cdf0e10cSrcweir        TabStop = TRUE ;
298cdf0e10cSrcweir        HelpId = HID_DSADMIN_AUTORETRIEVEENABLED;
299cdf0e10cSrcweir        Text [ en-US ] = "Re~trieve generated values";
300cdf0e10cSrcweir    };
301cdf0e10cSrcweir
302cdf0e10cSrcweir    FixedText FT_AUTOINCREMENTVALUE
303cdf0e10cSrcweir    {
304cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 15 , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS + CHECKBOX_HEIGHT ) ;
305cdf0e10cSrcweir        Size = MAP_APPFONT ( ADVANCED_PAGE_X - 15 - 6 , FIXEDTEXT_HEIGHT ) ;
306cdf0e10cSrcweir        Text[ en-US ] = "~Auto-increment statement";
307cdf0e10cSrcweir    };
308cdf0e10cSrcweir
309cdf0e10cSrcweir    Edit ET_AUTOINCREMENTVALUE
310cdf0e10cSrcweir    {
311cdf0e10cSrcweir        Border = TRUE ;
312cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 15 , UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT + 3*RELATED_CONTROLS ) ;
313cdf0e10cSrcweir        Size = MAP_APPFONT ( ADVANCED_PAGE_X - 15 - 2*UNRELATED_CONTROLS , EDIT_HEIGHT ) ;
314cdf0e10cSrcweir        TabStop = TRUE ;
315cdf0e10cSrcweir        HelpId = HID_DSADMIN_AUTOINCREMENTVALUE;
316cdf0e10cSrcweir    };
317cdf0e10cSrcweir
318cdf0e10cSrcweir    FixedText FT_RETRIEVE_AUTO
319cdf0e10cSrcweir    {
320cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 15 , UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT + 4*RELATED_CONTROLS + EDIT_HEIGHT) ;
321cdf0e10cSrcweir        Size = MAP_APPFONT ( ADVANCED_PAGE_X - 15 - 6 , 10 ) ;
322cdf0e10cSrcweir        Text [ en-US ] = "~Query of generated values";
323cdf0e10cSrcweir    };
324cdf0e10cSrcweir
325cdf0e10cSrcweir    Edit ET_RETRIEVE_AUTO
326cdf0e10cSrcweir    {
327cdf0e10cSrcweir        Border = TRUE ;
328cdf0e10cSrcweir        Pos     = MAP_APPFONT ( 15 , UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT + 5*RELATED_CONTROLS + EDIT_HEIGHT ) ;
329cdf0e10cSrcweir        Size = MAP_APPFONT ( ADVANCED_PAGE_X - 15 - 2*UNRELATED_CONTROLS, EDIT_HEIGHT ) ;
330cdf0e10cSrcweir        TabStop = TRUE ;
331cdf0e10cSrcweir        HelpId = HID_DSADMIN_RETRIEVE_AUTO;
332cdf0e10cSrcweir    };
333cdf0e10cSrcweir};
334cdf0e10cSrcweir
335cdf0e10cSrcweir//-------------------------------------------------------------------------
336cdf0e10cSrcweir
337cdf0e10cSrcweirTabPage PAGE_ADVANCED_SETTINGS_SPECIAL
338cdf0e10cSrcweir{
339cdf0e10cSrcweir    HelpID = "dbaccess:TabPage:PAGE_ADVANCED_SETTINGS_SPECIAL";
340cdf0e10cSrcweir    SVLook = TRUE ;
341cdf0e10cSrcweir    Pos = MAP_APPFONT ( 0 , 0 ) ;
342cdf0e10cSrcweir    Size = MAP_APPFONT ( ADVANCED_PAGE_X , ADVANCED_PAGE_Y ) ;
343cdf0e10cSrcweir    Hide = TRUE;
344cdf0e10cSrcweir    AUTO_DATAHANDLING(            RELATED_CONTROLS )
345cdf0e10cSrcweir    AUTO_SQL92CHECK(            1*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +                      RELATED_CONTROLS )
346cdf0e10cSrcweir    AUTO_APPENDTABLEALIAS(      2*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +  1*CHECKBOX_HEIGHT + RELATED_CONTROLS )
347cdf0e10cSrcweir    AUTO_AS_BEFORE_CORR_NAME(   3*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +  2*CHECKBOX_HEIGHT + RELATED_CONTROLS )
348cdf0e10cSrcweir    AUTO_ENABLEOUTERJOIN(       4*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +  3*CHECKBOX_HEIGHT + RELATED_CONTROLS )
349cdf0e10cSrcweir    AUTO_IGNOREDRIVER_PRIV(     5*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +  4*CHECKBOX_HEIGHT + RELATED_CONTROLS )
350cdf0e10cSrcweir    AUTO_PARAMETERNAMESUBST(    6*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +  5*CHECKBOX_HEIGHT + RELATED_CONTROLS )
351cdf0e10cSrcweir    AUTO_SUPPRESVERSIONCOLUMN(  7*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +  6*CHECKBOX_HEIGHT + RELATED_CONTROLS )
352cdf0e10cSrcweir    AUTO_CATALOG(               8*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +  7*CHECKBOX_HEIGHT + RELATED_CONTROLS )
353cdf0e10cSrcweir    AUTO_SCHEMA(                9*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +  8*CHECKBOX_HEIGHT + RELATED_CONTROLS )
354cdf0e10cSrcweir    AUTO_IGNOREINDEXAPPENDIX(  10*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +  9*CHECKBOX_HEIGHT + RELATED_CONTROLS )
355cdf0e10cSrcweir    AUTO_DOSLINEENDS(          11*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 10*CHECKBOX_HEIGHT + RELATED_CONTROLS )
356cdf0e10cSrcweir    AUTO_CHECKREQUIRED(        12*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 11*CHECKBOX_HEIGHT + RELATED_CONTROLS )
357cdf0e10cSrcweir    AUTO_IGNORECURRENCY(       13*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 12*CHECKBOX_HEIGHT + RELATED_CONTROLS )
358cdf0e10cSrcweir    AUTO_ESCAPE_DATETIME(      14*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 14*CHECKBOX_HEIGHT + RELATED_CONTROLS )
359cdf0e10cSrcweir    AUTO_PRIMARY_KEY_SUPPORT(  15*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 15*CHECKBOX_HEIGHT + RELATED_CONTROLS )
360cdf0e10cSrcweir    AUTO_RESPECTRESULTSETTYPE( 16*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 16*CHECKBOX_HEIGHT + RELATED_CONTROLS )
361cdf0e10cSrcweir    AUTO_BOOLEANCOMPARISON(    17*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 15*CHECKBOX_HEIGHT + RELATED_CONTROLS + ( LISTBOX_HEIGHT - CHECKBOX_HEIGHT ) / 2 )
362cdf0e10cSrcweir    AUTO_MAXROWSCAN(           18*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 15*CHECKBOX_HEIGHT + RELATED_CONTROLS + ( LISTBOX_HEIGHT - CHECKBOX_HEIGHT ) / 2 )
363cdf0e10cSrcweir};
364cdf0e10cSrcweir
365cdf0e10cSrcweir//-------------------------------------------------------------------------
366cdf0e10cSrcweir
367cdf0e10cSrcweirTabDialog DLG_DATABASE_ADVANCED
368cdf0e10cSrcweir{
369cdf0e10cSrcweir    OutputSize = TRUE ;
370cdf0e10cSrcweir    SVLook = TRUE ;
371cdf0e10cSrcweir    Moveable = TRUE ;
372cdf0e10cSrcweir    Closeable = TRUE ;
373cdf0e10cSrcweir    Hide = TRUE;
374cdf0e10cSrcweir    HelpId = HID_DSADMIN_ADVANCED;
375cdf0e10cSrcweir
376cdf0e10cSrcweir    TabControl 1
377cdf0e10cSrcweir    {
378cdf0e10cSrcweir        OutputSize = TRUE ;
379cdf0e10cSrcweir        HelpId = HID_DSADMIN_TABCONTROL;
380cdf0e10cSrcweir    };
381cdf0e10cSrcweir
382cdf0e10cSrcweir    String STR_GENERATED_VALUE
383cdf0e10cSrcweir    {
384cdf0e10cSrcweir        Text [ en-US ] = "Generated Values";
385cdf0e10cSrcweir    };
386cdf0e10cSrcweir
387cdf0e10cSrcweir    String STR_DS_BEHAVIOUR
388cdf0e10cSrcweir    {
389cdf0e10cSrcweir        Text [ en-US ] = "Special Settings";
390cdf0e10cSrcweir    };
391cdf0e10cSrcweir
392cdf0e10cSrcweir    Text [ en-US ] = "Advanced Settings" ;
393cdf0e10cSrcweir};
394