It appears as though I have the record, how to I get the text for the second column (if you will, I know there are no columns) but the first thing is the word the second should be the definition. How do I get that definition piece? Is this recordHandle a structure and I can get the second element somewho?
Thanks Dean-O --- Phreak OnALeash <[EMAIL PROTECTED]> wrote: > Get text with MemHandleLock... gives you all data in > the record. > > On 10/16/07, r r <[EMAIL PROTECTED]> wrote: > > > > Thanks for the idea... > > I think I almost have this DB thing working... I > have > > the db open with > > > > // get the handle to the record and set busy bit > > recordHandle = DmQueryRecord(gDatabase, > dbIndexNum); > > > > now how to I get the text out of this > recordHandle? > > > > the record consists of the word and then the > > description. I want the description, so I can set > the > > field value by using... > > > > ////////////////////////////////// > > // get an index to the kMainForm text field > > index = FrmGetObjectIndex(pForm,kDetailFormField); > > > > // get the pointer to our field > > field = FrmGetObjectPtr(pForm, index); > > > > // set the fields text > > FldSetTextPtr (field,detailText); > > > > > > Thanks > > Dean-O > > > > > > > > > > > > > ____________________________________________________________________________________ > > Pinpoint customers who are looking for what you > sell. > > http://searchmarketing.yahoo.com/ > > > > -- > > For information on using the ACCESS Developer > Forums, or to unsubscribe, > > please see > http://www.access-company.com/developers/forums/ > > > > > > -- > /*PhreakOnALeash*/ > > "My heart is human, my blood is boiling, my brain > IBM" > > -- > For information on using the ACCESS Developer > Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/ ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
