Results 1 to 3 of 3
  1. #1
    bbeernaert is offline Novice
    Windows XP Access 2000
    Join Date
    Aug 2010
    Location
    Belgium
    Posts
    11

    form with different queries

    HI



    Is there any way to use an expression to create a form with the queries you want??


    So example

    I want a form with the column monday if its monday

    If it is tuesday I want another column in that form.

    Thx!!

  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    I assume you have fields "Monday","Tuesday"..."Sunday" in you table.

    change data source in form_open event:
    form.recordsource="select "+format(now,"dddd")+" from tablename"

  3. #3
    bbeernaert is offline Novice
    Windows XP Access 2000
    Join Date
    Aug 2010
    Location
    Belgium
    Posts
    11
    I have solved it by putting a bigger screen and put al the days of week on the form!!

    srry for bottering

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

Similar Threads

  1. Running Queries from a form
    By HaYuM in forum Queries
    Replies: 1
    Last Post: 08-23-2013, 03:12 AM
  2. Replies: 1
    Last Post: 07-23-2010, 09:31 PM
  3. Need Help with Queries
    By mulefeathers in forum Queries
    Replies: 2
    Last Post: 05-24-2010, 11:37 AM
  4. Queries to Form Problem
    By PnerraD in forum Queries
    Replies: 1
    Last Post: 06-10-2006, 09:13 AM
  5. Replies: 0
    Last Post: 03-19-2006, 11:52 PM

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