Results 1 to 4 of 4
  1. #1
    mann2x is offline Novice
    Windows Vista Access 2007
    Join Date
    Oct 2010
    Posts
    10

    RecordSource help

    I am a new member in this forums,may you all support me well and i guarantee that will do the same for you guys as good as i can.. =)

    I am current ly creating a scheduling system system for my school, as its name suggest it schedules subjects to certain time and certain rooms..

    What i am now trying to do is when i input the ff into the combo box (not the real code but clear enough to see the scenario)

    cboCourse = BS ECE


    cboYear = V
    cboSemester = 1st

    following is an after_update event that create a table and will place the inputed values as name of the table then set the fields which im not going to include here because it isnt necessary..

    i cannot set the newly created table as the RecordSource of a form..can you guys help me out?please leave a reply thank you..

  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    can't you just use:
    Form.RecordSource=combobox1
    to reset the record source?

    Remember the new recordsource should has similar field names as the original source.
    and don't forget put form.requery to refresh the form after changing recordsource.

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    You might want to review the chapter on normalization in your book. You probably should not be creating tables for the various combinations, if that's what you're doing.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    mann2x is offline Novice
    Windows Vista Access 2007
    Join Date
    Oct 2010
    Posts
    10
    thx for the reply guys!i will try what you guys told me..and still i am open for new suggestions..

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

Similar Threads

  1. Replies: 6
    Last Post: 04-06-2010, 03:00 PM
  2. Replies: 2
    Last Post: 10-16-2009, 02:47 PM
  3. Recordsource with Multiple queries
    By darshita in forum Programming
    Replies: 1
    Last Post: 08-10-2009, 03:17 PM
  4. update recordsource of subform
    By AndyKim in forum Forms
    Replies: 1
    Last Post: 06-16-2009, 09:15 AM
  5. Changing A Report Recordsource from a form
    By warrenjburns in forum Reports
    Replies: 0
    Last Post: 04-09-2009, 05:38 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