/**************************************************************
 * 
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 * 
 *************************************************************/


#ifndef _DBU_QRY_HRC_
#define _DBU_QRY_HRC_

#ifndef _DBU_RESOURCE_HRC_
#include "dbu_resource.hrc"
#endif


#define STR_QRY_FUNCTIONS					RID_STR_QRY_START
#define STR_QRY_SORTTEXT					RID_STR_QRY_START + 1
#define STR_QUERY_UNDO_MOVETABWIN			RID_STR_QRY_START + 2
#define STR_QUERY_UNDO_SIZETABWIN			RID_STR_QRY_START + 3
#define STR_QUERY_UNDO_INSERTCONNECTION		RID_STR_QRY_START + 4
#define STR_QUERY_UNDO_REMOVECONNECTION		RID_STR_QRY_START + 5
#define STR_QUERY_UNDO_TABWINSHOW			RID_STR_QRY_START + 6
#define STR_QUERY_UNDO_TABWINDELETE			RID_STR_QRY_START + 7
#define STR_QUERY_UNDO_MODIFY_CELL			RID_STR_QRY_START + 8
#define STR_QUERY_UNDO_SIZE_COLUMN			RID_STR_QRY_START + 9
#define STR_QUERY_UNDO_TABFIELDDELETE		RID_STR_QRY_START + 10 
#define STR_QUERY_UNDO_TABFIELDCREATE		RID_STR_QRY_START + 11
#define STR_QRY_TOOCOMPLEX					RID_STR_QRY_START + 12
#define RID_STR_TABLE_DOESNT_EXIST			RID_STR_QRY_START + 13
#define RID_STR_FIELD_DOESNT_EXIST			RID_STR_QRY_START + 14
#define RID_STR_TOMUCHTABLES				RID_STR_QRY_START + 15
#define STR_QUERY_INNER_JOIN				RID_STR_QRY_START + 16
#define STR_QUERY_LEFTRIGHT_JOIN			RID_STR_QRY_START + 17
#define STR_QUERY_FULL_JOIN					RID_STR_QRY_START + 18
#define STR_QUERY_SORTTEXT					RID_STR_QRY_START + 19
#define STR_QUERY_FUNCTIONS					RID_STR_QRY_START + 20
#define STR_QUERY_NOTABLE  					RID_STR_QRY_START + 21
#define STR_QRY_ORDERBY_UNRELATED			RID_STR_QRY_START + 22
#define STR_QUERY_HANDLETEXT				RID_STR_QRY_START + 23
// free
// free
#define STR_QRY_TOO_MANY_COLUMNS			RID_STR_QRY_START + 26
#define STR_SVT_SQL_SYNTAX_ERROR			RID_STR_QRY_START + 27
#define STR_QUERYDESIGN_NO_VIEW_SUPPORT		RID_STR_QRY_START + 28
#define STR_QUERYDESIGN_NO_VIEW_ASK			RID_STR_QRY_START + 29
#define STR_QRY_NOSELECT					RID_STR_QRY_START + 30
#define STR_QRY_COLUMN_NOT_FOUND			RID_STR_QRY_START + 31
#define STR_QRY_JOIN_COLUMN_COMPARE			RID_STR_QRY_START + 32
#define STR_QRY_LIKE_LEFT_NO_COLUMN			RID_STR_QRY_START + 33
#define STR_QRY_CHECK_CASESENSITIVE			RID_STR_QRY_START + 34
#define STR_QUERY_UNDO_TABFIELDMOVED		RID_STR_QRY_START + 35
#define STR_QRY_ILLEGAL_JOIN				RID_STR_QRY_START + 36
#define STR_QRY_TOO_LONG_STATEMENT			RID_STR_QRY_START + 37
#define STR_QRY_SYNTAX						RID_STR_QRY_START + 38
#define STR_QRY_NATIVE						RID_STR_QRY_START + 39
#define STR_QRY_TOO_MANY_TABLES				RID_STR_QRY_START + 40
#define STR_QRY_TOOMANYCOND					RID_STR_QRY_START + 41
#define STR_QUERYDESIGN						RID_STR_QRY_START + 42
#define STR_VIEWDESIGN						RID_STR_QRY_START + 43
#define STR_JOIN_TYPE_HINT                  RID_STR_QRY_START + 44
#define STR_QUERY_SAVEMODIFIED              RID_STR_QRY_START + 45
#define STR_ERROR_PARSING_STATEMENT         RID_STR_QRY_START + 46
#define STR_INFO_OPENING_IN_SQL_VIEW        RID_STR_QRY_START + 47
#define STR_STATEMENT_WITHOUT_RESULT_SET    RID_STR_QRY_START + 48
#define STR_NO_DATASOURCE_OR_CONNECTION     RID_STR_QRY_START + 49
#define STR_NO_ALTER_VIEW_SUPPORT           RID_STR_QRY_START + 50
#define STR_QUERY_CROSS_JOIN                RID_STR_QRY_START + 51
#define STR_QUERY_NATURAL_JOIN              RID_STR_QRY_START + 52
    // please adjust checking when inserting new strings


#if STR_QUERY_NATURAL_JOIN > RID_STR_QRY_END
#error resource id overflow in #file, #line
#endif

#endif // _DBU_QRY_HRC_

