I would like to use some VB to automate a certain procedure. I am currently working on a movie rental database.
In the table tblTitleCopy I have the fields CopyId, TitleId, DatePurchased and Damaged
Below pic is example of some data in the table
As you can see there are 6 different CopyId for the same TitleId, 3 for Videos and 3 for Dvds. The D and V at the beginning of each CopyId means either Dvd or Video. At the end are the letters A, B, or C that shows which copy it is. So here is how the CopyId works, starting with D or V, followed by the TitleId, then the letter A, B, or C. I want to be able to click on a button, which will automatically create these 3 Dvd and 3 Video (total of 6) copies for me, and if these copies already exist then I want a message box to appear with some invalid message.
Below pic is what the form will look like
Any Suggestions on what I could do
If no solutions are possible then no prob
THANK YOU
In the table tblTitleCopy I have the fields CopyId, TitleId, DatePurchased and Damaged
Below pic is example of some data in the table
As you can see there are 6 different CopyId for the same TitleId, 3 for Videos and 3 for Dvds. The D and V at the beginning of each CopyId means either Dvd or Video. At the end are the letters A, B, or C that shows which copy it is. So here is how the CopyId works, starting with D or V, followed by the TitleId, then the letter A, B, or C. I want to be able to click on a button, which will automatically create these 3 Dvd and 3 Video (total of 6) copies for me, and if these copies already exist then I want a message box to appear with some invalid message.
Below pic is what the form will look like
Any Suggestions on what I could do
If no solutions are possible then no prob
THANK YOU