RE: Strings

louis <[email protected]>
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <[email protected]>
Rather use parameters in the query:
 
SELECT *
FROM TABLE 
WHERE FIELD = :param
 
then go DataSet.Parameters.ParamByName('param').Value := Edit1.Text

-----Original Message-----
From: Eduardo Meyer [mailto:[email protected]]
Sent: Wednesday, July 23, 2003 9:54 PM
To: Delphi Programming
Subject: [Delphi] Strings


Hi people!


    I'm in a trouble with a string concatenation..
I mean, I'm trying to make an SQL Query in a string var...

This the problem:
strQuery = 'SELECT * FROM TABLE WHERE FIELD=' ??? Edit1.Text
I would like to get the text of this TEdit, but how if ( ' ) limits the
string??


How confusing was my explanation!
LOL

Sorry...

Thanks!


Eduardo

[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor	
 
<http://rd.yahoo.com/M=249982.3604094.4873438.1261774/D=egroupweb/S=17051153
62:HM/A=1524963/R=0/SIG=12omjm5nk/*http://hits.411web.com/cgi-bin/autoredir?
camp=556&lineid=3604094&prop=egroupweb&pos=HM> 	
 
<http://us.adserver.yahoo.com/l?M=249982.3604094.4873438.1261774/D=egroupmai
l/S=:HM/A=1524963/rand=400916593> 	

CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
<http://www.delphicollection.com/public/CodeCoffer.htm> 
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->

CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.