Results 1 to 3 of 3
  1. #1
    Jayesh Tejani is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Dec 2014
    Posts
    2

    Geting mont name in combo box

    hello geniuses....



    i have a database with date filed and i want a report month wise form that, for that i want to create form with combo box which contain month name form the date value in database please can u help me..................................

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    In a 'report form', frmRpts, put a combo box for the months, and a box for year
    The query will use limit using items in the form....
    select * from table where month([DateFld]) = forms!frmRpts!cboMonth and year([DateFld]) = forms!frmRpts!txtYr

    also in the query the report uses, create an extra virtual field:
    Month([DateFld]) as Month
    or
    Format([DateFld],"mmmm") as Month

  3. #3
    Jayesh Tejani is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Dec 2014
    Posts
    2

    Exclamation

    Quote Originally Posted by ranman256 View Post
    In a 'report form', frmRpts, put a combo box for the months, and a box for year
    The query will use limit using items in the form....
    select * from table where month([DateFld]) = forms!frmRpts!cboMonth and year([DateFld]) = forms!frmRpts!txtYr

    also in the query the report uses, create an extra virtual field:
    Month([DateFld]) as Month
    or
    Format([DateFld],"mmmm") as Month

    THANKS.ranman256;312093
    i understand last changes for query and i have successfully don that the the new filed show month name in every record, but please can u alebrate(more detail discprition) first part of your answer

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

Similar Threads

  1. Replies: 2
    Last Post: 10-21-2014, 07:57 AM
  2. Replies: 1
    Last Post: 11-01-2012, 09:49 AM
  3. Replies: 1
    Last Post: 10-30-2012, 10:29 AM
  4. Replies: 2
    Last Post: 08-16-2012, 10:02 PM
  5. Geting value/text to ready text
    By timpepu in forum Reports
    Replies: 2
    Last Post: 05-20-2010, 12:12 AM

Tags for this Thread

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