[SOLVED] How do you run a query from a process?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

[SOLVED] How do you run a query from a process?

Post by BenHayat »

I need to run/call a query from within a process. How do you call/run a query from within process?

There is no "Run Query" action.
I tried EXEC_STRING but doesn't work.
Last edited by BenHayat on Sat Dec 29, 2018 10:28 pm, edited 1 time in total.
Jaymer
Posts: 2475
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: How do you run a query from a process?

Post by Jaymer »

DISPLAY 'queryname'

use F3 to see a list of queries
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: How do you run a query from a process?

Post by BenHayat »

Jaymer wrote:DISPLAY 'queryname'

use F3 to see a list of queries
Thanks!
You would think the syntax would be the same as running a "Process". :(
customaware
Posts: 2413
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: [SOLVED] How do you run a query from a process?

Post by customaware »

I think the reason the syntax is different is because Queries can have spaces in the name.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
PointsWell
Posts: 1463
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: How do you run a query from a process?

Post by PointsWell »

BenHayat wrote: You would think the syntax would be the same as running a "Process". :(
Semantically though you want to see (ie DISPLAY) the query results.

“Run” a query is a very procedural syntax
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: How do you run a query from a process?

Post by BenHayat »

PointsWell wrote:“Run” a query is a very procedural syntax
I'm a "procedural" guy... :D
Post Reply