Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using ECHOIN command on on runmap 2

Status
Not open for further replies.

jinkys

Programmer
Sep 11, 2003
67
GB
Anyone know how I put the audit options (-AEWU) when using ECHOIN command?

=RUN ("run_gedmequity", "-AEWU -T -WM -IE1S"+ NUMBERTOTEXT( SIZE( text(gedmequityIn)))+ " "+ text(gedmequityIn))

=RUN ("run_gedmequity", ECHOIN(1,(gedmequityIn)))
 
You can try using....

RUN (valid("run_gedmequity", ECHOIN(1,(gedmequityIn))),
FAIL("Failure on RUN run_gedmequity (" + TEXT ( LASTERRORCODE ( ) ) + "):" + LASTERRORMSG ( ) ) )

It should bring back the return code from the runmap with related message.
 
Hi eyetry

Thanks for response but that doesn't pass the audit settings to the run map, which is what I was looking to do?

Any other ideas?
 
valid(RUN("run_gedmequity"," -AEWU " + ECHOIN(1,(gedmequityIn))),
FAIL("Failure on RUN run_gedmequity (" + TEXT ( LASTERRORCODE ( ) ) + "):" + LASTERRORMSG ( ) ) ))
 
I had tried that before, bloody space after the U, thanks janhes
 
Easier: put the settings in the RUN map in the first place.
Good idea to design RUN maps to work stand alone, with a many of the realworld settings in place. Makes the rules simpler and the RUN map easier to test if there is a problem.

BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top