Precisely Speaking
May 18, 2012, 04:12:14 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: So what's news with you? Tell us about it in "Getting To Know You"!
Home
Help
Calendar
Login
Register
Precisely Speaking
>
Training and Education
>
SB+ Programming Questions
>
Call CLEARSELECT UniQuery Command in Paragraph
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Call CLEARSELECT UniQuery Command in Paragraph (Read 1698 times)
sniper612
Newbie
Posts: 2
Call CLEARSELECT UniQuery Command in Paragraph
«
on:
February 12, 2010, 07:48:02 AM »
Hi all,
Is there any other way to call the CLEARSELECT UniQuery command in paragraph apart from EXEC ">:CLEARSELECT"? This syntax works as intended, however, it will bring a side effect under GUI mode. Once the command is executed, the blue terminal screen will appear and disappear right after.
Thanks in advance!
Logged
precisonline
President/Chief Technologist
Administrator
Rock Star
Posts: 1532
Re: Call CLEARSELECT UniQuery Command in Paragraph
«
Reply #1 on:
February 12, 2010, 12:17:22 PM »
For GUI it's probably best to write a little BASIC routine that you can call to execute TCL commands quietly. Maybe something like this:
SUBROUTINE EXECUTE.QUIETLY
$INCLUDE DMSKELCODE COMMON
EXECUTE PARAM CAPTURING VALUE
RETURN
Then you can call this via:
CALL EXECUTE.QUIETLY,CLEARSELECT
..or...
LOCAL L.RESULT
L.RESULT = B('EXECUTE.QUIETLY,..any TCL command...')
And the results will come back in the local variable L.RESULT.
Wrap a /PD.B around this and then you have something you can call either as a process or as a subroutine.
Logged
-Kevin
Accidents "happen"; success, however, is planned and executed.
sniper612
Newbie
Posts: 2
Re: Call CLEARSELECT UniQuery Command in Paragraph
«
Reply #2 on:
February 15, 2010, 10:01:02 AM »
Thanks!
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Getting To Know You
=> Announcements
=> Big Thoughts / Cool Ideas
=> Rants & Raves
-----------------------------
Application Support
-----------------------------
=> Red Leaf
=> Activant/Prelude Support
=> Summit Support
=> Avante Support
=> PRC Support
-----------------------------
Training and Education
-----------------------------
=> Connect!
=> U2 Programming Questions
=> SB+ Programming Questions
=> Web Programming Questions
=> Business Intelligence / MITS
=> PC / Hardware / Miscellaneous Support
Loading...