Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread SetKey access violation 1.02 Build 1
Wed, Apr 4 2007 3:16 PMPermanent Link

Michael
    SetKey;
    FieldByName('Chart').AsString :=3D edtSearch.Text;
    GotoNearest;

This code causes a access violation in my projects with version 1.02 bui=
ld  =

1



-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Wed, Apr 4 2007 6:07 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< This code causes a access violation in my projects with version 1.02
build 1 >>

Yes, but you need to set the KeyFieldCount:

SetKey;
FieldByName('Chart').AsString := edtSearch.Text;
KeyFieldCount:=1;
GotoNearest;

I'll make sure that the AV is fixed, however.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image