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