Re: developer/2000 question (Form design)
Date: 1996/06/13
Message-ID: <4pq0qe$cqo_at_zimmer.CSUFresno.EDU>#1/1
In article <4povgf$3nc_at_news.roadway.com>, <rklainer_at_calibersys.com> wrote:
>I am a new user to developer/2000 and I'm trying to do the following.
>The user executes a query a query on a form. If the query returns
>more than one row, I want to provide the user with a tabular list of
>records. The user can then select a record from the list and return to
>the detail form.
>Does any one know how to do this. Any seggestions would be appreciated
Set up a single block, with the 'records displayed' attribute set to however long you want (example: 10). In this block, create items that the user will see in the tabular format in order to identify which row to examine (for example, key values). These will display the full 10 times in the tabular display.
In the same block, but possibly on a different canvas, you can place all the 'detail' items for one row, in a single-row (form) type of layout. Just be sure that on these items, you set their 'Items Displayed' property to 1.
If you want to duplicate the items from the tabular display area in the form (detail) display area, create items that are duplicates, but also set their 'Items Displayed' prop to 1, and use the 'mirror item' property, and with the 'Base Table Item' prop False.
If you do it on two separate forms, it will be lots more difficult. If you use two canvasses within the same form, it should work ok.
I once created a form to do what you are thinking of trying, but I used two separate blocks. Was that ever a nitemare! 8-(
HTH
Steve Cosner
Received on Thu Jun 13 1996 - 00:00:00 CEST