H
hailadeel
Afternoon,
I need help please, what I'm trying to do is via an established ODBC
connection to a DB2 platform run a routine so that I can change data
on the online screens using a table of information in Access.
For example, if I need to go to X= 27, Y = 019 and make the change
based off the information in table for instance. This is what I have
in mind to change phone numbers for 1000 customers
Establish connection and screen name then
(1) enter customer number (on db2.online screen)
(2) depress enter (on db2.online screen)
(3) get focus on position 26,137 (on db2.online screen)
(4) look up and apply access table.value 1 = 212-555-1212 (lookup in
access tbl.customer) apply to (on db2.online screen)
(5) press enter (on db2.online screen)
repeat
something like:
While (i=1, i++, i=1000) */ since there are
about 1000 changes to be made /*
{
Focus.application(access) */ switch to Access,
perhaps send keystroke ALT-TAB /*
Copy cell 1, row 1 from the array
Focus.application(terminal) */ switch to DB2 screen
name /*
Paste */ the cursor
would be placed on the default field, which is the corp. code id /*
Enter
Focus.application(Access)
Right Arrow, Copy
Focus.application(terminal)
TAB,TAB,TAB,TAB,TAB,TAB,TAB
Paste
Enter
Focus.application(Access)
Down arrow, left arrow
}
Any help would be great.
Thank you,
David
I need help please, what I'm trying to do is via an established ODBC
connection to a DB2 platform run a routine so that I can change data
on the online screens using a table of information in Access.
For example, if I need to go to X= 27, Y = 019 and make the change
based off the information in table for instance. This is what I have
in mind to change phone numbers for 1000 customers
Establish connection and screen name then
(1) enter customer number (on db2.online screen)
(2) depress enter (on db2.online screen)
(3) get focus on position 26,137 (on db2.online screen)
(4) look up and apply access table.value 1 = 212-555-1212 (lookup in
access tbl.customer) apply to (on db2.online screen)
(5) press enter (on db2.online screen)
repeat
something like:
While (i=1, i++, i=1000) */ since there are
about 1000 changes to be made /*
{
Focus.application(access) */ switch to Access,
perhaps send keystroke ALT-TAB /*
Copy cell 1, row 1 from the array
Focus.application(terminal) */ switch to DB2 screen
name /*
Paste */ the cursor
would be placed on the default field, which is the corp. code id /*
Enter
Focus.application(Access)
Right Arrow, Copy
Focus.application(terminal)
TAB,TAB,TAB,TAB,TAB,TAB,TAB
Paste
Enter
Focus.application(Access)
Down arrow, left arrow
}
Any help would be great.
Thank you,
David