/**************************************************************
 *
 * 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 DBAUI_QUERYFILTER_HRC
#include "queryfilter.hrc"
#endif
#include "dbaccess_helpid.hrc"

/*
#define STRLST_AND_OR \
	StringList [ en-US ] = \
	{\
		< "AND" ; Default ;	> ; \
		< "OR" ; Default ;	> ; \
	};\
*/

ModalDialog DLG_FILTERCRIT
{
	OutputSize = TRUE ;
	Hide = TRUE ;
	SVLook = TRUE ;
	Size = MAP_APPFONT ( 303, 76 ) ;
	/* These strings are equal to the toolbox bubble helptext from MID_SBA_QRY_FILTERCRIT in toolbox.hrc */
	Text [ en-US ] ="Standard Filter" ;

	Moveable = TRUE ;
	Closeable = TRUE ;
	HelpId = HID_DLG_FILTERCRIT ;
	ListBox LB_WHEREFIELD1
	{
		HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHEREFIELD1" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 60, 25 ) ;
		Size = MAP_APPFONT ( 60, 90 ) ;
		TabStop = TRUE ;
		DropDown = TRUE ;
	};
	ListBox LB_WHERECOMP1
	{
		HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOMP1" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 124, 25 ) ;
		Size = MAP_APPFONT ( 49, 72 ) ;
		TabStop = TRUE ;
		DDExtraWidth = TRUE ;
		DropDown = TRUE ;
		CurPos = 0 ;
	};
	Edit ET_WHEREVALUE1
	{
		HelpID = "dbaccess:Edit:DLG_FILTERCRIT:ET_WHEREVALUE1" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 177, 25 ) ;
		Size = MAP_APPFONT ( 60, 12 ) ;
		TabStop = TRUE ;
	};
	ListBox LB_WHERECOND2
	{
		HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOND2" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 15, 41 ) ;
		Size = MAP_APPFONT ( 41, 36 ) ;
		TabStop = TRUE ;
		DropDown = TRUE ;
		CurPos = 0 ;
//		STRLST_AND_OR
		StringList [ en-US ] =
		{
			< "AND" ; Default ;	> ;
			< "OR" ; Default ;	> ;
		};
	};
	ListBox LB_WHEREFIELD2
	{
		HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHEREFIELD2" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 60, 41 ) ;
		Size = MAP_APPFONT ( 60, 90 ) ;
		TabStop = TRUE ;
		DropDown = TRUE ;
	};
	ListBox LB_WHERECOMP2
	{
		HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOMP2" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 124, 41 ) ;
		Size = MAP_APPFONT ( 49, 72 ) ;
		TabStop = TRUE ;
		DropDown = TRUE ;
		DDExtraWidth = TRUE ;
		CurPos = 0 ;
	};
	Edit ET_WHEREVALUE2
	{
		HelpID = "dbaccess:Edit:DLG_FILTERCRIT:ET_WHEREVALUE2" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 177, 41 ) ;
		Size = MAP_APPFONT ( 60, 12 ) ;
		TabStop = TRUE ;
	};
	ListBox LB_WHERECOND3
	{
		HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOND3" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 15, 57 ) ;
		Size = MAP_APPFONT ( 41, 36 ) ;
		TabStop = TRUE ;
		DropDown = TRUE ;
		CurPos = 0 ;
//		STRLST_AND_OR
		StringList [ en-US ] =
		{
			< "AND" ; Default ;	> ;
			< "OR" ; Default ;	> ;
		};
	};
	ListBox LB_WHEREFIELD3
	{
		HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHEREFIELD3" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 60, 57 ) ;
		Size = MAP_APPFONT ( 60, 90 ) ;
		TabStop = TRUE ;
		DropDown = TRUE ;
	};
	ListBox LB_WHERECOMP3
	{
		HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOMP3" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 124, 57 ) ;
		Size = MAP_APPFONT ( 49, 72 ) ;
		TabStop = TRUE ;
		DropDown = TRUE ;
		DDExtraWidth = TRUE ;
		CurPos = 0 ;
	};
	Edit ET_WHEREVALUE3
	{
		HelpID = "dbaccess:Edit:DLG_FILTERCRIT:ET_WHEREVALUE3" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 177, 57 ) ;
		Size = MAP_APPFONT ( 60, 12 ) ;
		TabStop = TRUE ;
	};
	FixedText FT_WHEREFIELD
	{
		Pos = MAP_APPFONT ( 60, 14 ) ;
		Size = MAP_APPFONT ( 60, 8 ) ;
		Center = TRUE ;
		Text [ en-US ] = "Field name" ;
	};
	FixedText FT_WHERECOMP
	{
		Pos = MAP_APPFONT ( 124, 14 ) ;
		Size = MAP_APPFONT ( 50, 8 ) ;
		Center = TRUE ;
		Text [ en-US ] = "Condition" ;
	};
	FixedText FT_WHEREVALUE
	{
		Pos = MAP_APPFONT ( 177, 14 ) ;
		Size = MAP_APPFONT ( 60, 8 ) ;
		Center = TRUE ;
		Text [ en-US ] = "Value" ;
	};
	FixedText FT_WHEREOPER
	{
		Pos = MAP_APPFONT ( 15, 14 ) ;
		Size = MAP_APPFONT ( 40, 8 ) ;
		Center = TRUE ;
		Text [ en-US ] = "Operator" ;
	};
	FixedLine FL_FIELDS
	{
		Pos = MAP_APPFONT ( 6, 3 ) ;
		Size = MAP_APPFONT ( 236, 8 ) ;
		Text [ en-US ] = "Criteria" ;
	};
	OKButton BT_OK
	{
		Pos = MAP_APPFONT ( 249, 6 ) ;
		Size = MAP_APPFONT ( 50, 14 ) ;
		TabStop = TRUE ;
		DefButton = TRUE ;
	};
	CancelButton BT_CANCEL
	{
		Pos = MAP_APPFONT ( 249, 23 ) ;
		Size = MAP_APPFONT ( 50, 14 ) ;
		TabStop = TRUE ;
	};
	HelpButton BT_HELP
	{
		Pos = MAP_APPFONT ( 249, 43 ) ;
		Size = MAP_APPFONT ( 50, 14 ) ;
		TabStop = TRUE ;
	};
	String STR_NOENTRY
	{
		Text [ en-US ] = "- none -" ;
	};
	String STR_COMPARE_OPERATORS
	{
		Text [ en-US ] = "=;<>;<;<=;>;>=;like;not like;null;not null" ;
	};
};

// ********************************************************************** EOF
