Hi, How can I search a database record using date field. I want to retrieve all records whose date field matches search date. For this should I use MemSet function to fill the memory location with the search date for the purpose of comparision. If so how can I convert a search date (DateTimeType structer) into byte value. when I try to use MemSet compiler rising error ----:can not convert struct to unsigned char..... for my code snippet- searchRec = MemPtrNew(sizeof(dbRec)); MemSet(searchRec, sizeof(DateTimeType), searchDate);
Is there any simple way to search database records using date field. Thanks for your help, Regards Bhaskar __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
