Are you breaking a string across source lines? You are in my copy of your post - but that might just be my email client (or the least) breaking it.
This is a syntax error. Try it like this and see if you still have the problem: SearchText := inputbox( 'Name Search', 'Enter the name you''re looking for', '' ); -ns ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Sunday, September 30, 2001 3:19 PM Subject: [DUG]: help with search string in the following code i get the error undetermined string; any ideas SearchText : string; tmp : address; begin file://error here// SearchText := inputbox( 'Name Search', 'Enter the name you''re looking for', '' ); if (SearchText <> '') and Find( SearchText ) then begin read( AddressFile, tmp ); eName.text := tmp.Name; eStreetAddress.text := tmp.StreetAddress; ecity.text:=tmp.city; ephone.text:=tmp.phone; emobile.text:=tmp.mobile; eemail.text:=tmp.email; end; end; ... 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/ --------------------------------------------------------------------------- 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/