Skip to main content

[archive] Last field on screen

  • September 22, 2006
  • 1 reply
  • 0 views

[Migrated content. Thread originally posted on 22 September 2006]

I have a problem with a data entry screen with the last field on the screen being the amount. When I get to that field and want to Shift-Tab to go to previous field it does not do it. It updates my record. I know it is doing it because of my after procedure routine. What I need to find out is if there is a way to see what key the user hit to terminate the field. If he hit a tab, Shift-tab or enter or is there a better way to do it without using the after procedure clause.

I am using acubench 7.0

Thanks
Milton

1 reply

[Migrated content. Thread originally posted on 22 September 2006]

I have a problem with a data entry screen with the last field on the screen being the amount. When I get to that field and want to Shift-Tab to go to previous field it does not do it. It updates my record. I know it is doing it because of my after procedure routine. What I need to find out is if there is a way to see what key the user hit to terminate the field. If he hit a tab, Shift-tab or enter or is there a better way to do it without using the after procedure clause.

I am using acubench 7.0

Thanks
Milton
You can assign an exception value to the shift tab key combination via the keystroke configuration variable, then in your after procedure you can find the key value. Or in the after procedure do an accept my-var from escape (this returns the last key entered).