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

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
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.
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,659
Messages
6,120,784
Members
448,992
Latest member
prabhuk279

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
Back
Top