boycoder
asked on
read from the txt file
carry on from my last Q sorry...
If when the form13 loads in the onshow event, how would i have it so that if the email inside DBemail.text is already inside the text file, dont add it... this is what i am working with
if
DBemail.text=(f:\special.t xt')
then begin
showmessage('already added')
MakeSpecialMember1.enabled := false
end
else begin
MakeSpecialMember1.enabled := true ;
( i know its wrong, just so it gives the idea )
If when the form13 loads in the onshow event, how would i have it so that if the email inside DBemail.text is already inside the text file, dont add it... this is what i am working with
if
DBemail.text=(f:\special.t
then begin
showmessage('already added')
MakeSpecialMember1.enabled
end
else begin
MakeSpecialMember1.enabled
( i know its wrong, just so it gives the idea )
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
notes incase i read this again.. i used it inside the actual sepcial select button rather than form show/createect..
Thanks friend.