I have a form with 3 browses. One browse has a table recordsource consisting of 3 fields, RecID, PathName, ParseName. These are all pieces of sheet music on the users computer.
Another browse has a list of gigs (shows), and the 3rd browse contains the sets for each gig. See attached.
Users add pieces of sheet music from the browse on the left to the browse on the right by clicking the "+" or double clicking the name. This adds the piece, and the id of the gig, to the browse on the right. This works fine, however, i want the piece to remain highlighted in the browse on the right after adding it. This works sometimes, and i think it is due to only using the file id from the browse on the left and not including the gig id from the browse at the top. Since the browse on the right can contain thousands of records with many duplicate pieces of sheet music, but all belonging to different gigs, i think the problem lies with it utilizing an id not currently showing in the browse on the right. Any ideas how to use 2 criteria to create a record pointer?
Other Info: This form is built on a set with 3 tables, Gig (with all gig or shows), Charts (this is the complete sheet music library obtained by reading from a directory), and GigCharts (this is the table containing the sheet musi for each gig/show) To make this work, the Gig table and the GigCharts table is linked by the GigID. But to make the library table work, i created a common field in the Gig table and the Charts table. These 2 tables have a default id of "X" so all the charts library will show for every gig (Cartesian product).
Any help will be greatly appreciated.
Another browse has a list of gigs (shows), and the 3rd browse contains the sets for each gig. See attached.
Users add pieces of sheet music from the browse on the left to the browse on the right by clicking the "+" or double clicking the name. This adds the piece, and the id of the gig, to the browse on the right. This works fine, however, i want the piece to remain highlighted in the browse on the right after adding it. This works sometimes, and i think it is due to only using the file id from the browse on the left and not including the gig id from the browse at the top. Since the browse on the right can contain thousands of records with many duplicate pieces of sheet music, but all belonging to different gigs, i think the problem lies with it utilizing an id not currently showing in the browse on the right. Any ideas how to use 2 criteria to create a record pointer?
Other Info: This form is built on a set with 3 tables, Gig (with all gig or shows), Charts (this is the complete sheet music library obtained by reading from a directory), and GigCharts (this is the table containing the sheet musi for each gig/show) To make this work, the Gig table and the GigCharts table is linked by the GigID. But to make the library table work, i created a common field in the Gig table and the Charts table. These 2 tables have a default id of "X" so all the charts library will show for every gig (Cartesian product).
Any help will be greatly appreciated.
Comment