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

Master-detail Form

Status
Not open for further replies.

nickty

MIS
May 25, 2001
23
GB
Hi, I wondered if anyone could help?

I have a master detail relationship, and the detail contains year. This table will have values for previous years, next year, and the current year. How do I get the form to display the CURRENT year, but allow users to scroll up to next year or down to previous years.

If I do an order-by, I get the greatest year (not current).
If I do a where :year := :global.year then I only get that year, and the user cannot scroll to any other year.

Does anyone have any ideas?
thanks.
 
You may edit on-populate-details trigger (or query_master_details procedure) to navigate to the record you need and then return to master block.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top