/****************************************************************************
 *
 *                               GBase.
 *
 *                           PROPRIETARY DATA
 *
 * Licensed Material - Property Of GBase
 *
 * "Restricted Materials of GBase"
 *
 * GBase Client SDK
 *
 * Copyright GBASE  2007. All rights reserved.
 *
 ****************************************************************************
 */

/****************************************************************************
 * 
 *	File	:	wdemo.h
 * 
 ***************************************************************************/

#define IDM_ABOUT      101
#define IDM_OPEN       102
#define IDM_EXIT       103
#define IDM_LOGO       104
#define CUST_DLGTXT    1001
#define CUST_NUMBER    1002
#define CUST_FNAME     1003
#define CUST_LNAME     1004
#define CUST_COMPANY   1005
#define CUST_ADDR1     1006
#define CUST_ADDR2     1007
#define CUST_CITY      1008
#define CUST_STATE     1009
#define CUST_ZIP       1010
#define CUST_PHONE     1011
#define CUST_SELECT    1012
#define CUST_INSERT    1013
#define CUST_UPDATE    1014
#define CUST_DELETE    1015
#define CUST_EXIT      1016
#define CUST_OK        1017
#define CUST_CANCEL    1018
#define ABOUT_ICO      2001
#define CUST_CLEAR     1019


/********** contains all fields of stores database **********/
typedef  struct  CustDBase
{
   long    lCustomerNumber;
   char    szCustomerNumber[11];
   char    szFirstName[16];
   char    szLastName[16];
   char    szCompName[21];
   char    szAddr1[21];
   char    szAddr2[21];
   char    szCity[16];
   char    szState[3];
   char    szZipCode[6];
   char    szPhone[19];
}  CUSTSTRUCT;
typedef  CUSTSTRUCT  FAR *LPCUSTSTRUCT;

/********** contains error message and code **********/
typedef  struct   ErrorDBase
{
   char  szMessage[257];
   int   sqlcode;
}  ERRORSTRUCT;
typedef  ERRORSTRUCT FAR *LPERRORSTRUCT;

#define MAX_BUF_LEN    256
