Thanks Danny, That worked like a charm. But it raises another question of mine.
Say I want to beam the record x which has the following parts: x.Name = "TestName" x.Date = 32000; x.Age = 35; x.Employer = "AAA" If I want to beam that record to the corresponding application on another Palm Pilot (Not in the memo pad) and enter it into the corresponding database, do I do this: err = BeamBytes(&s, x, MemHandleSize(theRecord)); or this: err = BeamBytes(&s, x->Name, MemHandleSize(theRecord)); err = BeamBytes(&s, x->Date, MemHandleSize(theRecord)); ...etc.? Ed. Danny Epstein wrote: > What is CatDBType? It's pretty clear from the s.desc line that it's a > struct. In the call to BeamBytes, you're treating x as a pointer to > arbitrary data. Since you're sending this data to Memo Pad, you should be > sending either plain text or MIME-encoded text. (The latter is used for > sending categories of memos.) I'm guessing that the first byte in the > structure pointed to by x is zero, so it's being treated as an empty string > by Memo Pad. Perhaps you should change the call to BeamBytes, something like > this: > > err = BeamBytes(&s, x->Foo, MemHandleSize(theRecord)); > > where Foo is a field that contains the contents of the record that should > appear in the memo. > - > Danny -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
