Alejandro,
I would encourage you not to create the record and set it's attributes
directly at all. Palm provides a sysAppLaunchCmdAddRecord launch code
that would allow you to add a mail record to the outbox of the mail
applicaiton without having to specifically create a mail record. You
fill a MailAddRecordParamsType structure and do a sysAppLaunch of the
mail application with the sysAppLaunchCmdAddRecord launch code, and
voila, you've added a record to the outbox.
I hope this helps,
DeAnna
-----Original Message-----
From: Prakash [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 4:22 AM
To: Palm Developer Forum
Subject: Re: MailDB
Hi there,
Set the record attribute to Outbox category by something like:
DmRecordInfo (refDB, idx, &attr, NULL, NULL);
attr &= ~dmRecAttrCategoryMask;
attr |= outboxCategory | dmRecAttrDirty;
DmSetRecordInfo (refDB, idx, &attr, NULL);
And the outbox category should be 1.
Hope this helps..
Best Regards,
Prakash
--- "A. Santillan Iturres" <[EMAIL PROTECTED]> wrote:
> I would like to know if anybody knows the structure of the database
MailDB.
> I know it has 14 fields on each register and that the DB name is
MailDB, the
> creator id is madk.
> What I want to do is to add a record to the database, and I succeed in
doing
> it but just to the inbox. I do not know how to set the record so it
belongs
> to the outbox.
>
> Any idea?
>
> Alejandro Santillan Iturres
> Buenos Aires
> Argentina
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please
> see http://www.palmos.com/dev/tech/support/forums/
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/