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#ifndef _DBA_DBACCESS_HELPID_HRC_
25cdf0e10cSrcweir#include "dbaccess_helpid.hrc"
26cdf0e10cSrcweir#endif
27cdf0e10cSrcweir#ifndef _DBU_DLG_HRC_
28cdf0e10cSrcweir#include "dbu_dlg.hrc"
29cdf0e10cSrcweir#endif
30cdf0e10cSrcweir#ifndef _DBAUI_SQLMESSAGE_HRC_
31cdf0e10cSrcweir#include "sqlmessage.hrc"
32cdf0e10cSrcweir#endif
33cdf0e10cSrcweir
34cdf0e10cSrcweir//-------------------------------------------------------------------------
35cdf0e10cSrcweirImage BMP_EXCEPTION_ERROR
36cdf0e10cSrcweir{
37cdf0e10cSrcweir	ImageBitmap = Bitmap { File = "exerror.bmp"; };
38cdf0e10cSrcweir	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
39cdf0e10cSrcweir};
40cdf0e10cSrcweir
41cdf0e10cSrcweirImage BMP_EXCEPTION_WARNING
42cdf0e10cSrcweir{
43cdf0e10cSrcweir	ImageBitmap = Bitmap { File = "exwarning.bmp"; };
44cdf0e10cSrcweir	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
45cdf0e10cSrcweir};
46cdf0e10cSrcweir
47cdf0e10cSrcweirImage BMP_EXCEPTION_INFO
48cdf0e10cSrcweir{
49cdf0e10cSrcweir	ImageBitmap = Bitmap { File = "exinfo.bmp"; };
50cdf0e10cSrcweir	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
51cdf0e10cSrcweir};
52cdf0e10cSrcweirImage BMP_EXCEPTION_ERROR_SCH
53cdf0e10cSrcweir{
54cdf0e10cSrcweir	ImageBitmap = Bitmap { File = "exerror_sch.bmp"; };
55cdf0e10cSrcweir	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
56cdf0e10cSrcweir};
57cdf0e10cSrcweir
58cdf0e10cSrcweirImage BMP_EXCEPTION_WARNING_SCH
59cdf0e10cSrcweir{
60cdf0e10cSrcweir	ImageBitmap = Bitmap { File = "exwarning_sch.bmp"; };
61cdf0e10cSrcweir	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
62cdf0e10cSrcweir};
63cdf0e10cSrcweir
64cdf0e10cSrcweirImage BMP_EXCEPTION_INFO_SCH
65cdf0e10cSrcweir{
66cdf0e10cSrcweir	ImageBitmap = Bitmap { File = "exinfo_sch.bmp"; };
67cdf0e10cSrcweir	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
68cdf0e10cSrcweir};
69cdf0e10cSrcweir
70cdf0e10cSrcweirModalDialog DLG_SQLEXCEPTIONCHAIN
71cdf0e10cSrcweir{
72cdf0e10cSrcweir    HelpID = "dbaccess:ModalDialog:DLG_SQLEXCEPTIONCHAIN";
73cdf0e10cSrcweir	Moveable = TRUE ;
74cdf0e10cSrcweir	Closeable = TRUE ;
75cdf0e10cSrcweir	OutputSize = TRUE ;
76cdf0e10cSrcweir	SVLook = TRUE ;
77cdf0e10cSrcweir	Size = MAP_APPFONT ( 240 , 150 ) ;
78cdf0e10cSrcweir	Text [ en-US ] = "%PRODUCTNAME Base" ;
79cdf0e10cSrcweir
80cdf0e10cSrcweir	FixedLine FL_DETAILS
81cdf0e10cSrcweir	{
82cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6, 3 ) ;
83cdf0e10cSrcweir		Size = MAP_APPFONT ( 228, 8 ) ;
84cdf0e10cSrcweir		Text [ en-US ] = "Details";
85cdf0e10cSrcweir	};
86cdf0e10cSrcweir	FixedText FT_ERRORLIST
87cdf0e10cSrcweir	{
88cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12, 12 ) ;
89cdf0e10cSrcweir		Size = MAP_APPFONT ( 85, 10 ) ;
90cdf0e10cSrcweir		Text [ en-US ] = "Error ~list:";
91cdf0e10cSrcweir		Group = TRUE;
92cdf0e10cSrcweir	};
93cdf0e10cSrcweir	Control CTL_ERRORLIST
94cdf0e10cSrcweir	{
95cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12, 25 ) ;
96cdf0e10cSrcweir		Size = MAP_APPFONT ( 85, 93 ) ;
97cdf0e10cSrcweir		Border = TRUE;
98cdf0e10cSrcweir		TabStop = TRUE;
99cdf0e10cSrcweir		HelpId = HID_SQLERROR_EXCHAIN_ERRORS;
100cdf0e10cSrcweir	};
101cdf0e10cSrcweir	FixedText FT_DESCRIPTION
102cdf0e10cSrcweir	{
103cdf0e10cSrcweir		Pos = MAP_APPFONT ( 103, 12 ) ;
104cdf0e10cSrcweir		Size = MAP_APPFONT ( 125, 10 ) ;
105cdf0e10cSrcweir		Text [ en-US ] = "~Description:";
106cdf0e10cSrcweir		Group = TRUE;
107cdf0e10cSrcweir	};
108cdf0e10cSrcweir	MultiLineEdit ME_DESCRIPTION
109cdf0e10cSrcweir	{
110cdf0e10cSrcweir		Border = TRUE ;
111cdf0e10cSrcweir		Pos = MAP_APPFONT ( 103 , 25 ) ;
112cdf0e10cSrcweir		Size = MAP_APPFONT ( 125 , 93 ) ;
113cdf0e10cSrcweir		TabStop = TRUE ;
114cdf0e10cSrcweir		VScroll = TRUE ;
115cdf0e10cSrcweir		HelpId = HID_SQLERROR_EXCHAIN_TEXT;
116cdf0e10cSrcweir	};
117cdf0e10cSrcweir	OKButton PB_OK
118cdf0e10cSrcweir	{
119cdf0e10cSrcweir		Pos = MAP_APPFONT ( 95 , 130 ) ;
120cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
121cdf0e10cSrcweir		TabStop = TRUE ;
122cdf0e10cSrcweir		DefButton = TRUE ;
123cdf0e10cSrcweir	};
124cdf0e10cSrcweir
125cdf0e10cSrcweir	String STR_EXCEPTION_STATUS
126cdf0e10cSrcweir	{
127cdf0e10cSrcweir		Text [ en-US ] = "SQL Status";
128cdf0e10cSrcweir	};
129cdf0e10cSrcweir	String STR_EXCEPTION_ERRORCODE
130cdf0e10cSrcweir	{
131cdf0e10cSrcweir		Text [ en-US ] = "Error code";
132cdf0e10cSrcweir	};
133cdf0e10cSrcweir};
134cdf0e10cSrcweir
135cdf0e10cSrcweirString STR_EXPLAN_STRINGCONVERSION_ERROR
136cdf0e10cSrcweir{
137cdf0e10cSrcweir    Text [ en-US ] = "A frequent reason for this error is an inappropriate character set setting for the language of your database. Check the setting by choosing Edit - Database - Properties.";
138cdf0e10cSrcweir};
139cdf0e10cSrcweir
140cdf0e10cSrcweirString STR_EXCEPTION_ERROR
141cdf0e10cSrcweir{
142cdf0e10cSrcweir	Text [ en-US ] = "Error";
143cdf0e10cSrcweir};
144cdf0e10cSrcweir
145cdf0e10cSrcweirString STR_EXCEPTION_WARNING
146cdf0e10cSrcweir{
147cdf0e10cSrcweir	Text [ en-US ] = "Warning";
148cdf0e10cSrcweir};
149cdf0e10cSrcweir
150cdf0e10cSrcweirString STR_EXCEPTION_INFO
151cdf0e10cSrcweir{
152cdf0e10cSrcweir	Text [ en-US ] = "Information";
153cdf0e10cSrcweir};
154cdf0e10cSrcweir
155cdf0e10cSrcweirString STR_EXCEPTION_DETAILS
156cdf0e10cSrcweir{
157cdf0e10cSrcweir	Text [ en-US ] = "Details";
158cdf0e10cSrcweir};
159