simple scrollbar question...

2002-04-11 Thread Mark Kenny
Hi, I was just wondering how exactly i would go about putting a scroll bar in a field??? in the constructor i have the Has scroll bar option selected and the dynamic size option also selected. what else might i need to do, the form is only displaying one large field and i'm using fldInsert to

Trouble with databases...

2002-04-04 Thread Mark Kenny
Hi guys, i'm having a bit of trouble here with writing data to my database. it writes fine but when i go to make a second entry for the same day (ie index!==-1), the previous entry is overwritten. here is my addtodatabase fn Err AddToDatabase (PlannerDBPtr record) { Err error =

RE: Trouble with databases...

2002-04-04 Thread Mark Kenny
thanks matt but how would i go about writing multiple records for the same day i'm new to all of this! Tahnks -Original Message- From: Matt Hebley [mailto:[EMAIL PROTECTED]] Sent: 04 April 2002 21:25 To: Palm Developer Forum Subject: Re: Trouble with databases... At 09:08 PM

fldInsert Problem...

2002-03-27 Thread Mark Kenny
Hello all... I was wondering how exactly i might be able to insert an item from my database into a field. This is my DB and i want to insert Type into a field to display it typedef enum Weekday{Sun, Mon, Tues, Wed, Thurs, Fri, Sat} Weekday; typedef enum ModuleType{Lecture, Tutorial, Lab}

RE: fldInsert Problem...

2002-03-27 Thread Mark Kenny
: Anton [mailto:[EMAIL PROTECTED]] Sent: 27 March 2002 14:22 To: Palm Developer Forum Subject: Re: fldInsert Problem... You may get a crash if the string length is more then it is maxChars value of the field. Anton - Original Message - From: Mark Kenny [EMAIL PROTECTED] To: Palm Developer

RE: fldInsert Problem...

2002-03-27 Thread Mark Kenny
Problem... --- Mark Kenny [EMAIL PROTECTED] wrote: i get errors compiling saying stuff about implicit conversion from 'ModuleType' to 'const char *' ... I'm using: FldInsert(fldP, recP-Type, StrLen(recP-Type)); This is flagging errors, it works fine for errands. - and - typedef enum

writing to DB

2002-03-25 Thread Mark Kenny
Hi all, i'm trying to write two records to a database for a palm app and i'm new to all of this pointing to positions in memory and all of that crack. i have a fn to addtodatabase: Err AddToDatabase (PlannerDBPtr record) { Err error = errNone; UInt16 newIndex = dmMaxRecordIndex;

Beginners problem...

2002-03-22 Thread Mark Kenny
Hi, My name is Mark, I'm just starting palm development for a project here in college. This is a very simple dilema... The app that i'm writing requires info to be added and retrieved from a database for the Palm Pilot. i'm using codewarrior. I can enter one field and a list object (day) to