Home » Developer & Programmer » Forms » fill detail block
fill detail block [message #112779] Tue, 29 March 2005 06:25 Go to next message
teunbakker
Messages: 3
Registered: March 2005
Junior Member
Hy,

We have a masterblock in which you have to fill in a commencing date and then you must push on a button. Now we want that the detail block is filled by means of the commencing date of the masterblock. In the detail block the data is shown in tabular style from the table reservation. We want to show all reservations which start on the date which we fill in in the masterblock.

Thanks in advance
/forum/fa/44/0/
  • Attachment: screen.JPG
    (Size: 84.65KB, Downloaded 4569 times)
Re: fill detail block [message #112784 is a reply to message #112779] Tue, 29 March 2005 06:44 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
It's not that hard:

In your when_button_pressed of push_button18, you navigate to the detail block with a GO_BLOCK() and afterwards you EXECUTE_QUERY.

Make the master block a control block.

In the Where clause of the detail block you enter:
begindatum = :master_block.begindatum

HTH,
MHE

Re: fill detail block [message #112786 is a reply to message #112779] Tue, 29 March 2005 06:51 Go to previous message
teunbakker
Messages: 3
Registered: March 2005
Junior Member
Thanks a lot!
It works perfect Razz
Previous Topic: list items
Next Topic: Running Programs On My PC
Goto Forum:
  


Current Time: Thu Sep 19 16:16:27 CDT 2024