Results 1 to 3 of 3
  1. #1
    Lupson2011 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    68

    Opening up a form to a default value

    Hi

    I am setting up a database where on the Switchboard, you choose a surname from a combo box and click a command button.

    Depending on your choice, you go into another form showing specific date for that surname. within this form there is a combo box with a series of year ends from 2009/2010 to 2019/2020.



    Now each time I come into this form, no matter who the surname is, I need it to always show 2009/2010.

    At the moment, if i go in and put some data in for 2017/2018, when i come out and go back in, it displays 2017/2018 still, when I want it to revert to 2009/2010, which is the first year on the list.

    Or if it could show the current year, that would be also good.

    Any help or advice?

    thanks

    marc

  2. #2
    iProRyan is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Dec 2011
    Location
    England, United Kingdom
    Posts
    44
    Have you tried...

    ...On the form in design view, right-click the text box or whatever it is and go to "Properties", this will open the properties window, on this window go to the "Data" tab and in the "Default Value" box type in what you want the default value to be.

    This would be my first suggestion, if this doesn't work just say and I will help with another solution.

    Ryan

  3. #3
    Lupson2011 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    68
    Hi Ryan

    Not that didnt work,

    I tried 2008/2009 and ="2008/2009".

    But when I change the combo box in the form to 2010/2011, closed the form and opened it again, it still said 2010/2011.

    Any other ideas?

    Thanks

    Marc

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

Similar Threads

  1. Default value from another form
    By hitesh_asrani_j in forum Forms
    Replies: 12
    Last Post: 10-13-2011, 10:14 AM
  2. Replies: 2
    Last Post: 07-26-2011, 08:26 AM
  3. How to set default form
    By LAazsx in forum Forms
    Replies: 4
    Last Post: 11-28-2010, 12:22 AM
  4. Replies: 1
    Last Post: 11-09-2010, 03:02 PM
  5. Table opening by default
    By rod147 in forum Access
    Replies: 1
    Last Post: 07-07-2009, 10:01 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