WRQ Reflection (also Attachmate)

MagiCat

Board Regular
Joined
May 24, 2006
Messages
121
Seems like this program goes by a lot of names. Anyway, I'm using WRQ Reflection for IBM which has VBA built into it. Lately I've been using it from Microsoft Excel, programming in Excel to make updates to our AS/400 system.

A new task that I'm going to be doing involves adding about 17000 new customers to our system. It seems like it's going to be a pretty linear process, but there are exceptions which require me to recognize when an error occurred in the data entry. I'm currently just running through a loop and doing a .GetDisplayString to find the screen that it's currently on.

Anyway, does anyone have any good resources for using VBA for something like this?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
L

Legacy 98055

Guest
I did quite a bit of programming in WRQ several years ago. I do remember that the help files for the session object and all of it's members was very good. It may not be installed on your system. You can download a separate help file from the website.
 

MagiCat

Board Regular
Joined
May 24, 2006
Messages
121
Wouldn't have any code would you? I have the help files and they're good for giving details on individual items but not very good at helping you put them together.

I'm finding that determining the screen I'm on and whether it's the correct one is first waiting for the keyboard is enabled and when it is, to perform a GetDisplayText to see what screen I'm actually on.
What would be great though is to see how others have done it so that I can learn from it rather than creating everything from scratch.
 
L

Legacy 98055

Guest
I am pretty sure that is the exact same way I did it. There are a handful of GetText methods if I recall correctly. The programming I did involved quite a bit of auto-navigation that was done with great success. That was years ago with a different bu similiar product.
 

Forum statistics

Threads
1,141,227
Messages
5,705,142
Members
421,380
Latest member
Nuwan Sanjeewa Aponso

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top