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?
 

Some videos you may like

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,108,711
Messages
5,524,436
Members
409,577
Latest member
Dwg

This Week's Hot Topics

Top