hhesketh20
New member
- Joined
- May 14, 2007
- Messages
- 2
- Programming Experience
- Beginner
Hi I am having trouble with a cinema system I am creating in VB.NET. I have a form called frmSales which has three data grids on it which are linked to a Cinema.mdb database using SQL. The first data grid (Film) displays the FilmNumber(Unique Key) and FullTitle of the Film, the second datagrid (Date) displays the days the film is on for and the third data grid (Session) displays SessionNo(Unique Key), Time, Cinema and SeatNumbers. I have two buttons on this form called Sales and the other called Return.
What I need help with is the code for the buttons so that when the user has selected the three datagrids and depending on whether Cinema 1 or Cinema 2 was selected in datagrid Session then when either the Sales or Return button is pressed they will be taken to the corresponding Cinema form (In this case either frmCinema1 or frmCinema2).
Any help would be appreciated.
Cheers,
hhesketh20
What I need help with is the code for the buttons so that when the user has selected the three datagrids and depending on whether Cinema 1 or Cinema 2 was selected in datagrid Session then when either the Sales or Return button is pressed they will be taken to the corresponding Cinema form (In this case either frmCinema1 or frmCinema2).
Any help would be appreciated.
Cheers,
hhesketh20