Solved

How to use monthname function in report?

Posted on 2000-03-04
1
369 Views
Last Modified: 2012-06-21
I want my group header to display the month name in a report. I can't figure how to use the VB function monthname()-- it's not listed in my 'build' window.
What should I do?

TIA,..instanet

0
Comment
Question by:instanet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
bknouse earned 100 total points
ID: 2583961
I would just use the format function (I haven't heard of the monthname function).  The way to do this:

Variable: MyDate

Put into a textbox control MyDate as it's source.  Set it's format property to MMMM

The way it works;
MM returns 01, 02, 03, etc.
MMM returns Jan, Feb, Mar, etc.
MMMM returns January, February, March, etc.

Brent
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question