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

pressing PAGE DOWN button with code

Status
Not open for further replies.

franksirvent

Programmer
Mar 8, 2002
358
GB
Hi there

Is there a way I can add with text code 'PAGE DOWN' so it automatically goes to the next page in our DOS based program which is where I want to copy the LINES which have been created with Access ?

This is what the Access Text Memo Box looks like:
(After each CLIENT01 there is a 'vblf')

FREIGHT USD 250 CLIENT01
BAF USD 250 CLIENT01
CAF USD 250 CLIENT01 ...ETC

The thing is that our DOS based program only accepts 10 lines at a time, and sometimes I have to PAGE DOWN manually before continuing pasting the reminder of the lines...
is there a code I can put AFTER CLIENT01 (like vblf) which will do this for me ???
thanks in advance
 
Hi franksirvent
Have you tried Sendkeys? [ponder]
 
thanks for replying

take note that I cannot do sendkeys from within text
The user copies ALL the lines and pastes all the lines to our DOS based program...
All the text they copy and paste is together on a memo field.

There is no code, so I don't want to use Sendkeys.
As far as I know you cannot include sendkeys within a text body (like you can a line feed-carriage return which you can in code, but maybe I am wrong)
So what I am looking for is some code like 'vblf' or similar which can be added to the text as it was a carriage return (but instead a PAGE DOWN)


thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top