Dnia piątek, 7 października 2005 05:30, Steve napisał:
> The way I do it, is to have a const Ch: Char(39); have not got my laptop
> on, I think it's the character code for a '
> Then I use: St:= 'SELECT * FROM table ORDER BY '+Ch+'realprm'+Ch;
I'd say that using the apostrophe char twice is more convenient:
Str:='SELECT * FROM table ORDER BY ''realprm'' ';
Note: these are *not* double quotes, these are two apostrophe chars one after
another.
Cheers
Mike
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre. http://uk.security.yahoo.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~->
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/