Article View: borland.public.vdbase.data.sql
Article #244Re: Memvars & SLQ Designer
From: Craig Cohernour
Date: Thu, 17 Dec 1998 00:00
Date: Thu, 17 Dec 1998 00:00
39 lines
1552 bytes
1552 bytes
Thanks Geoff. I'll give it a shot and let you know. -Craig Geoff S. Wass wrote: > Craig, > > You can use this approach to your particular SQL query: > > x = 1 > > SELECT * FROM Customers WHERE myCode = :x > > The colon attached to the front of the variable tells SQL that "x" is a > variable and not a literal or key word. > > You will have to watch that the scope of x matches the scope of your > SQL. If you have to, you can make it a property of _app like this: > > _app.x = 1 > > SELECT * FROM Customers WHERE myCode = :_app.x > > I hope this helps. > > -- > Geoff Wass > Kuala Lumpur, Malaysia > > == In news groups use a reply (not e-mail) so all can help and learn! > == > == Report Inprise/Borland bugs... > == http://www.inprise.com/devsupport/bugs/bug_reports.html > == dBASE Archives http://forumsearch.borland.com:88/ > == or http://www.dejanews.com > == Alan Katz's Visual dBASE Magazine http://www.ksoftinc.com/vdb/
Technical Details
Message-ID:
<36789D90.3CB8E24E@access.mountain.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3677421D.21EE003@access.mountain.net> <36777D7C.C7764C26@ibm.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5a1,8c9ee27905930713 X-Google-Attributes: gidff5a1,public From: Craig Cohernour <cohe106w@access.mountain.net> Subject: Re: Memvars & SLQ Designer Date: 1998/12/17 Message-ID: <36789D90.3CB8E24E@access.mountain.net> X-Deja-AN: 423153917 Content-Transfer-Encoding: 7bit References: <3677421D.21EE003@access.mountain.net> <36777D7C.C7764C26@ibm.net> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.vdbase.data.sql