ahh, sorry again for conjestion on the list! i have parameter criteria
defined in an msaccess97 query, so when i run the query, it asks me for a
value. i since learned that i can put those wildcards (%) in the value i
type in when access asks for it! also, in the query definition (access97,
not a passthrough. . .) i can also convert the field to uppercase and
convert the user-input value (criteria expression) to uppercase so the
search isn't case-sensitive! it just gets cooler. . .
jt
-----Original Message-----
From: Brett W. McCoy [SMTP:bmccoy@lan2wan.com]
Sent: Tuesday, May 25, 1999 7:46 PM
To: JT Kirkpatrick
Cc: 'pgsql-sql@hub.org'
Subject: Re: [SQL] using like
On Tue, 25 May 1999, JT Kirkpatrick wrote:
> ok, sorry for conjestion, but i figured it out: select autoinv, company
> from table1 where company like '%Alice%'; -- that works in psql. but how
> do i substitute "Alice" with a variable name??
A variable name where? In AccessBasic?
Brett W. McCoy http://www.lan2wan.com/~bmccoy
-----------------------------------------------------------------------
Never put off till tomorrow what you can avoid all together.