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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing GetString Values between Attachmate Macros

Status
Not open for further replies.

14Sweetie

Technical User
Nov 19, 2003
1
US
I've obtained values with GetString in Macro A. Within Macro A, I open Macro B. I want to pass the GetString Values of Macro A to Macro B. How would I do this?

Thanks in advance!
 
That's not as easy as it would appear. I'm hoping this is a very scaled down look at what Macro A & B do. If they are small, copy and paste the code if possible.

I'm guessing they aren't small. You can use includes statements to "read" macro B into Macro A, then pass the variable just like to a normal sub.

Another option is to write the value to a text file in Macro A before calling Macro B.

There are also some API calls you can use I'm sure, but I don't know what those are. If you need to use API from EB, you should probably be in a better language.

Good luck,
calculus

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top