Ask a Question related to Dreamweaver AppDev, Design and Development.
-
longsdale #1
ASP Recordset Help!
Hi,
I have been trying to construct a results page in dreamweaver/asp if i put
a search in with one parameter it works fine (ie, select name from names where
name = 'MMcolPara') where MMcolPara is equal to Request.Form("Name"). BUT when
i add more boxes to my form and go to my results page and add new parameters
like varProductName which is equal to Request.Form("ProductName") and add it to
the sql query (ie, select name from names where name = 'MMcolPara' and/or
ProductName = 'varProductName') i get errors, why???
I'm trying to return either both results or just one result depending on the
info sent. I realise i must have to set up if... else.. clauses???
Any help in this matter?
Thanks, Ian
longsdale Guest
-
Recordset Help
Hey all, I am wondering if someone could help me create an SQL query for a recordset I am building. I have a database with many tables. In one... -
Using a Recordset
I'm trying to expand my web design skills by learning how to include some dynamic content in a site. Currently I have an Access database, and... -
Is this possible with a recordset?
Hello, Looking for some expert help. I am using Dreamweaver MX 2004. I have a need that I was wondering if it was possible accomplish using a... -
ADO - Recordset
I was wondering if anyone can help me. I've converting an already existing system (designed in Access which produces reports for the accounts dept)... -
RecordSet.Move or RecordSet.AbsolutePosition??
Hi, I'm trying to use either one of these methods to position the cursor in a specific position inside a recordset, but neither one seems to... -
Paul Whitham TMM #2
Re: ASP Recordset Help!
Ian
There is no such thing as an And/Or condition in a SQL statement, it is
either one or the other. If you use wildcard values as the defaults in your
query then you can use And statements regardless of what is passed from the
form.
--
Regards
Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
[url]www.valleybiz.net[/url]
Team Macromedia Volunteer for Ultradev/Dreamweaver MX
[url]www.macromedia.com/support/forums/team_macromedia[/url]
"longsdale" <webforumsuser@macromedia.com> wrote in message
news:d2broj$49d$1@forums.macromedia.com...i put> Hi,
> I have been trying to construct a results page in dreamweaver/asp ifwhere> a search in with one parameter it works fine (ie, select name from nameswhen> name = 'MMcolPara') where MMcolPara is equal to Request.Form("Name"). BUTparameters> i add more boxes to my form and go to my results page and add newit to> like varProductName which is equal to Request.Form("ProductName") and addthe> the sql query (ie, select name from names where name = 'MMcolPara' and/or
> ProductName = 'varProductName') i get errors, why???
> I'm trying to return either both results or just one result depending on> info sent. I realise i must have to set up if... else.. clauses???
> Any help in this matter?
> Thanks, Ian
>
Paul Whitham TMM Guest



Reply With Quote

