     PULLDOWN "Edit"
	 BEGIN
			MENUITEM "Cut" ID MAINEDITCUTCMD "X"
			MENUITEM "Copy" ID MAINEDITCOPYCMD "C"
			MENUITEM "Paste" ID MAINEDITPASTECMD "V"
			MENUITEM SEPARATOR
			MENUITEM "Select All" ID MAINEDITSELECTALLCMD "S"
	END


C:\Carlos_Installations\cygwin\cygwin.bat
CMD /C start /min C:\Personnel\PDA-Emulator\Emulator_Internal.exe 

 typedef struct DBCategoryType
{
	Int16 categoryId;
	char	name[10];
	char	description[10];
} DBCategoryType;
typedef DBCategoryType*	DBCategoryTypePtr;

static DmOpenRef		categorydb = NULL;
static LocalID			categdbID;
static Int16			categnbRec = 0, categcurRec = 0;


static DBCategoryType	categdbRecord;

typedef struct DBDistanceType
{
	Int16 day, month, year;
	Int16 startHour, startMinute;
	Int16 endHour, endMinute;
	Int32 distance;
	Int16 categoryId;
	char	description[21];
} DBDistanceType;
static DBDistanceType	dbRecord;


							
							SetField(MAIN_FORM, CATEGORYFIELD, categdbRecord.name);
							FrmCustomAlert(ERRORALERT, "3333", "", ""); 
						
							FldDrawField(FrmGetObjectPtr(FrmGetFormPtr(MAIN_FORM), CATEGORYFIELD));
							FrmCustomAlert(ERRORALERT, "444", "", ""); 
	currentSeconds = TimGetSeconds ();
	TimSecondsToDateTime (currentSeconds, &currentDate);

	month=currentDate.month;
	day = currentDate.day;
	year=currentDate.year;
	StrPrintF(buf, "%2d %s %4d", day, getMonth(month), year);
	SetField(MAIN_FORM, DATEFIELD, buf);

	startHour = currentDate.hour;
	endHour = startHour;
	startMinute = currentDate.minute;
	endMinute = startMinute;
	TimeToAscii(startHour, startMinute, PrefGetPreference(prefTimeFormat), buf);
	SetField(MAIN_FORM, STARTTIMEFIELD, buf);

	TimeToAscii(endHour, endMinute, PrefGetPreference(prefTimeFormat), buf);
	SetField(MAIN_FORM, ENDTIMEFIELD, buf);
	