473,503 Members | 11,783 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Display Parameter

MJ
I'm not following... where do I put that?

I put a textbox on my report and put the following property for it:
=[Forms]![prompt]![startmonth].Value

This displays 1 (for January 2003).

How do I get it to display January 2003 instead of 1? Thanks!


"PC Datasheet" <sp**@nospam.spam> wrote in message news:<ww*******************@newsread1.news.atl.ear thlink.net>...
Add to the code you're using to send the parameter to the report to the column
property of the combobox:

NameOfCombobox.Column(1)

Note -- it's column 1 because the columns are zero based!
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"MJ" <mj****@excite.com> wrote in message
news:a5**************************@posting.google.c om...
Hi,

I'm hoping this is relatively easy.

I have a report based on a query - when you run the report, a form
opens up and you are prompted for a date range. These are combo boxes
(ie. January 2003, February 2003, etc). The combo boxes display the
date field but the field that is actually sent back to the query is
the corresponding identifier (ie. 1 for January 2003, 2 for February
2003) etc.

I can display the parameter on the report but it displays as the
identifier. How can I get it to display what is in the combo box (ie.
January 2003 instead of 1)?

I don't know if I explained this very well, but any help would be
greatly appreciated!

MJ

Nov 12 '05 #1
1 1916
On 15 Jan 2004 10:31:36 -0800, mj****@excite.com (MJ) wrote:
I'm not following... where do I put that?

I put a textbox on my report and put the following property for it:
=[Forms]![prompt]![startmonth].Value

This displays 1 (for January 2003).

How do I get it to display January 2003 instead of 1? Thanks!


"PC Datasheet" <sp**@nospam.spam> wrote in message news:<ww*******************@newsread1.news.atl.ear thlink.net>...
Add to the code you're using to send the parameter to the report to the column
property of the combobox:

NameOfCombobox.Column(1)

Note -- it's column 1 because the columns are zero based!
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"MJ" <mj****@excite.com> wrote in message
news:a5**************************@posting.google.c om...
> Hi,
>
> I'm hoping this is relatively easy.
>
> I have a report based on a query - when you run the report, a form
> opens up and you are prompted for a date range. These are combo boxes
> (ie. January 2003, February 2003, etc). The combo boxes display the
> date field but the field that is actually sent back to the query is
> the corresponding identifier (ie. 1 for January 2003, 2 for February
> 2003) etc.
>
> I can display the parameter on the report but it displays as the
> identifier. How can I get it to display what is in the combo box (ie.
> January 2003 instead of 1)?
>
> I don't know if I explained this very well, but any help would be
> greatly appreciated!
>
> MJ

You didn't follow his directions...... NameOfCombobox.Column(1) <


Change your control source to:
=[Forms]![prompt]![startmonth].Column(1)
--
Fred

Please reply only to this newsgroup.
I do not reply to personal e-mail.
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
1966
by: Wally | last post by:
I am trying to display images from an Access 2000 database and I get an error "Invalid Parameter Used" when I execute the code line "picBLOB.Image = Image.FromStream(stmBLOBData)" in my Visual...
0
382
by: pembed2003 | last post by:
"news.hku.hk" <billychu@hkusua.hku.hk> wrote in message news:<408e8476$2@newsgate.hku.hk>... > thanks for all of your's help > but i still can't grasp the idea of the algorithm > maybe could...
2
4871
by: MJ | last post by:
Hi, I'm hoping this is relatively easy. I have a report based on a query - when you run the report, a form opens up and you are prompted for a date range. These are combo boxes (ie. January...
19
9532
by: hpy_awad | last post by:
What should I do to avoid the message : parameter 'argc' is never used My program is down : *-------------------- /* Book name : The prodessional programmers guide to C File name ...
4
16951
by: Todd Perkins | last post by:
Hello all, surprisingly enough, this is my first newsgroup post, I usually rely on google. So I hope I have enough info contained. Thank you in advance for any help! Problem: I am getting...
1
1210
by: djamilabouzid | last post by:
Hi, Thank you very much, Mohamed, about your last answer. That helped me a lot. I have another question about ASP.Net: o I do a research in a collection of images o I display images by...
3
3021
by: Jeff | last post by:
Hey ASP.NET 2.0 This the ObjectDataSource in my UserControl, <asp:ObjectDataSource ID="odsMessage" runat="server" SelectMethod="ExecuteMessage" TypeName="AH.MyNetwork.BLL.Network.Message">...
3
2898
by: koutoo | last post by:
Is it possible to display messages in the python shell? I want to display error messages based on parameters in my scripts to the users. Is there another way to display messages other than log...
0
3674
by: jans78 | last post by:
Appreciate if you all can help me to solve my Crystal Report problems First, I create some parameters and one of the parameters is Date. I set the parameter for the date is String. For example :...
0
7193
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7067
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6975
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4992
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.