Home » Developer & Programmer » Forms » Navigate to next record of tabluar
Navigate to next record of tabluar [message #680033] Sun, 19 April 2020 20:04 Go to next message
dhwng7
Messages: 1
Registered: April 2020
Junior Member
i have 1 data block for 'employees' and another for buttons. i am trying to create a button that will go to next record of employees. i tried the simple 'when-button-pressed' trigger with 'next_record;', but it seems to not work
Re: Navigate to next record of tabluar [message #680041 is a reply to message #680033] Mon, 20 April 2020 02:45 Go to previous messageGo to next message
cookiemonster
Messages: 13917
Registered: September 2008
Location: Rainy Manchester
Senior Member
That'll be because when you click on the button it'll go to the button block.
Either add a go_block before the next_record or move the button to the employees block.
Re: Navigate to next record of tabluar [message #680079 is a reply to message #680041] Tue, 21 April 2020 05:16 Go to previous message
Littlefoot
Messages: 21806
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Moving it to the employees block probably isn't the best idea. It has tabular layout so button will appear in every row. OK, it can be fixed by setting appropriate property (set it to be display only once) and relocated somewhere else, out of other data. But, I prefer the first suggestion - use GO_BLOCK and leave button where it is.
Previous Topic: get report name
Next Topic: Unable to resolve reference - checkbox issue
Goto Forum:
  


Current Time: Thu Mar 28 09:44:24 CDT 2024