1. Home
  2. Computing & Technology
  3. Databases
photo of Mike Chapple
Mike's Databases Blog

By Mike Chapple, About.com Guide to Databases since 2000

DVD Rental Database

Sunday March 14, 2004
In a recent forum posting, HIPHOPDREDAY asks:

"Hi. I have loads of dvd's and i'm at uni and my housemates are always borrowing my films so one day i decided that i would make up a rental system database on access xp just to pass the time. however i soon discovered that i got an E in my Computing A Level for a reason. I am totally stumped on how to go about this task. I have set-up a table of my dvd's. a table for my housemates and a table for rentals. i then set-up queries for the different genres of films, a list of available and not-available films and also a quetry for customers. i then made a form but i cannot for the life of me remember how to get my database to work in the format of:

a housemate goes to a form to rent movies. they choose the films they want and these are sent to the rentals form. ther movies that have been rented then go into the 'not available' category. when the films are returned the films returned then go into the 'available' category. it should be simple enough to do but i just cant work it out. can anyone help?

Comments

September 28, 2007 at 3:14 pm
(1) mightymouse says:

You should set up a command button on your form that says “Process Rentals” or something. When they press the button it will process your code. You would then have to put your SQL or VB code in there that puts the textbox.text contents into a string or an array, whichever you are more comfortable with, then write generic sql or vb code with those string variables in there.

You could probably record a macro that performs the action and then copy the code into the button code, since it will always be those records referred by the text boxes.

Hope that helps.

December 31, 2007 at 12:03 pm
(2) santosh234 says:

If somebody had done it or developed it, please mail it to me in santosh_ku_panda@hotmail.com

March 13, 2008 at 10:10 pm
(3) Ervin says:

im having the same problem could someone help me please. Email me on Ervin_dara@yahoo.co.uk than you

April 1, 2009 at 6:36 am
(4) Harry Peter-Hoblyn says:

i have been working on a database of this kind at school if you send me a table of your films i may be able to help you out

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Databases
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Databases

©2009 About.com, a part of The New York Times Company.

All rights reserved.