Barry,
  FWIW, the easiest way to get database data into a field is .... drum roll
... to use HB++.  That sounds trite, but it actually isn't.
  I've used a bunch of compilers, and the easiest to use, fastest to get to
finished is HB++.
  The syntax, BTW is
        fldFoo.Text = Database.ColumnName
  I kid you not.
  HTH,
  __Birm



| -----Original Message-----
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED] Behalf Of Barry
| Jaques
| Sent: Wednesday, 26 May, 2004 15:57
| To: Palm Developer Forum
| Subject: Database to Field
|
|
| I should put my query another way.
|
| I have a few best books on programming for Palm including the
| bible by Lonnon
| Foster but none of these books cover how to get data from a
| database into a
| field. They go on at length about manipulating databases but what
| is the use of
| a database unless you can display the information? And they just
| neglect to do
| this.
|
| Well they lay out examples like the one I used on how to do it
| but if I use that
| code it doesn't work so they are neglecting to tell me something
| about the type
| of data you get when you use DmQueryRecord or DMGetRecord.
| Obviously when I try
| to use the published code to put this into a field I get an error
| because it is
| not a text string and this is what these authors are not telling me.
|
| So my question is "What form of data is produced by DmQueryRecord
| and if it is
| not a Char then how do I go about converting it to Char format"?
|
| It would be nice to find this out, no thanks to the authors of
| these useless
| books but if not I will have to do it the hard way and strip down
| the Memo or
| Address sample to the bare bones to find out what the secret is.
|
| Cheers,
|
| Barry
|
| --
| For information on using the Palm Developer Forums, or to
| unsubscribe, please see http://www.palmos.com/dev/support/forums/
|


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to