navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

How can I use a string for the query?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> How can I use a string for the query?
Page: [1]
 
Mojo

 

Posts: 2431
From: Chicago
Status: offline

 
How can I use a string for the query? - 3/12/2001 23:51:00   
I have a string that I would like to use as the query in the DRW. I am using the Spooky diet on the DRW.

I am thinking something like:

Select * From Results WHERE "mystring"

Any ideas?

Thanks,

Joe

Vince from Spain

 

Posts: 658
From: Madrid Spain
Status: offline

 
RE: How can I use a string for the query? - 3/12/2001 18:33:00   
Hi Joe,
I am assuming that your string has previously been assigned some value. Like for instance . . . .
mystring = "name='Bob'"

If that is the case then you can build the query like this . . .
fp_sQry="SELECT * FROM results WHERE " & mystring

where the "&" will concatenate the two strings together.

All the best

Vince

------------------
Internet Business Solutions S.L.(Spain)


(in reply to Mojo)
Mojo

 

Posts: 2431
From: Chicago
Status: offline

 
RE: How can I use a string for the query? - 3/12/2001 20:38:00   
Vince,

Thanks for your help! I had tried that, but it did not work so I moved on. After you set me straight I started looking for another reason why it would not work and found it.

Grateful,

Joe

[This message has been edited by jbennett (edited 03-12-2001).]

[This message has been edited by jbennett (edited 03-12-2001).]


(in reply to Mojo)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> How can I use a string for the query?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts