Hi all, i have a edit box and a button on my form with the find dialog
as well.
my program is a address book. which it's data is written to a .dat
file. i have made a record type
type
address=record
name :string[50];
streetaddress:string[40];
city:string[20];
phone:string[15];
mobile:string[15];
email:string[40];
end;
on my form also i have 6 other edit boxes which the various info from
above is displayed in.
what i want to do is use the button(search) it searches through till
it find that record ie if i type in joe bloggs it brings up the record
for joe bloggs,
i would like some code to help me with this please.
b4 i forget
these are my other variables to go with it.
var
AddressFile :File Of address;
Addressdata :Address;
Fname :String;
recsize,currec :longint;
...
Brendon Toogood
E-Mail [EMAIL PROTECTED]
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/