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} ModuleType;
typedef struct ErrandDB {
Weekday day; /* 0 through 6 for Sun through Sat */
Char errands[257]; /* Free form text field, 256 characters
allowed */
ModuleType Type;
} ErrandDB;
typedef ErrandDB* ErrandDBPtr;
I'm using:
FldInsert(fldP, recP->Type, StrLen(recP->Type));
This is flagging errors, it works fine for errands. i know it has something
to do with the way Type is declared but i can't figure it out...do i use
fldInsert???
Thanks for your time
mark
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/