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/

Reply via email to