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

Scroll Grid in MSO Connector 1

Status
Not open for further replies.

ChrisJBruce

Programmer
May 12, 2003
2
AU
Is it possible to send a Page Up/Down or Line Up/Down to a grid in a MSO Connector (say, in the MSM26CA Invoicing screen)?

Thanks,

Chris
 
To look at a field on a particular line, you reference that field, eg. ACTION1I1 or ACTION1I2 or ACTION1I3 or ACTION1I4 or ACTION1I5

To scroll (a screenful at a time), you would send a Command.
To scroll down it would be something like
Code:
    oMimsx.Screen.MSO.Commands("Next").Execute
or the default processing on the screen might be to scroll, so merely hitting the enter key would achieve what you want
Code:
    oMimsx.Screen.MSO.Commands("OK").Execute

I try this bit of (VB) code to see the name of the commands which are available on the current screen.
Code:
    strFK = ""
    For iFK = 1 To oMimsx.Screen.MSO.Commands.Count
      strFK = strFK & CStr(iFK) & " " & _
              oMimsx.Screen.MSO.Commands(iFK).Name & "; "
    Next iFK
    Debug.Print "Commands/Function Keys available on " & _
                oMimsx.Screen.MSO.Name & _
                ": " & _
                strFK
 
Thanks for the response.

I do use the suffixed field names to access each visible line, and even the OK command to move to the next screen, but I was hoping there might be something a little more intuitive.

I'll check for a Next command on the screens I have to process (I've been focused on variations of Up and Down), but I don't think it's present.

Thanks again,

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top