Dynamic Queries in Webspeed

DeVNuLL

New Member
Hi guys,

Would it be possible to put a for each statement within a field on the database and run that query?

I've tried 'open query treequery value(querystring)' and its having none of it.

Thanks,

DeVNuLL
 

joey.jeremiah

ProgressTalk Moderator
Staff member
have a look at the CREATE QUERY statement and examples in the online help (f1) or language reference.

or a quick look through Using Dynamic Queries and Buffers chapter in the Programing Handbook for a more detailed explanation, wouldn't be a bad idea.

watch out for code injections. do a search for sql injections @wikipedia.org HTH
 
Top