Results 1 to 4 of 4
  1. #1
    iProRyan is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Dec 2011
    Location
    England, United Kingdom
    Posts
    44

    Question Help! Extracting Data from table to Form.

    Hi Guys,

    Could do with some help, am doing a Database for a school project, yes I am allowed help, it's not cheating, in fact I'm meant to do research, so this is it.

    I am making a database for a DVD Rental Store, on my Rental form I have it so you enter the ID of the DVD, how do I make it so once that ID is entered the other fields such as the DVD Title, Cost Per Night, and Overdue Daily Cost are automatically filled in form the data which is stored in a table called DVDs.

    Hope this makes sense.

    Thanks,
    Ryan.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You are doing data entry in a form? Include the DVDs table in the form RecordSource by building a query that joins on the ID fields. That's one reason for queries - to view related records in one dataset. The query will allow display of the related info from DVDs table but you don't want to allow edits of those fields from this form so set the textboxes as Locked Yes and TabStop No.

    Access Help has guidelines on building queries and forms.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    iProRyan is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Dec 2011
    Location
    England, United Kingdom
    Posts
    44
    Yes, I'm using a Form to enter the data.

    How would I build that Query?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Building queries is basic Access functionality and Help has guidelines or Google for tutorials. You can use the Query Designer to build and save a query object then refer to that query as the form's RecordSource. Or build the query right in the RecordSource. In the RecordSource property click the ellipses (...) to open the query designer. The result will be an SQL statement in the RecordSource.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 12-21-2011, 05:50 AM
  2. Replies: 3
    Last Post: 03-05-2011, 12:46 PM
  3. Extracting text from XML data
    By rob4465 in forum Access
    Replies: 1
    Last Post: 03-18-2010, 06:41 PM
  4. Extracting data after a keyword
    By KerryA in forum Queries
    Replies: 1
    Last Post: 02-11-2010, 09:56 PM
  5. Extracting data from a disastrous excel-style Table
    By milehighfreak in forum Import/Export Data
    Replies: 2
    Last Post: 12-16-2009, 07:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums