A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Including non related text in a report



 
 
Thread Tools Display Modes
  #1  
Old May 13th, 2010, 09:23 AM posted to microsoft.public.access.reports
Mr-Re Man
external usenet poster
 
Posts: 77
Default Including non related text in a report

One of my reports is a letter, I have been asked to include a decision date
on the letter. The database table does not hold this information and I was
hoping that when a letter had to be printed, the report would prompt the
inputter for the decision date and then include this on the report.

I have thought about including a new field in the table, but the letters are
few and far between.

Can anyone provide me with help?


Ads
  #2  
Old May 13th, 2010, 02:29 PM posted to microsoft.public.access.reports
ghetto_banjo
external usenet poster
 
Posts: 325
Default Including non related text in a report

Well, if you ever need to know a decision date of a past letter, then
you really should store it in the table. Otherwise, it will only be on
the printed letter.

If that is not an issue for you, you can make the report prompt for it
via a text box.

Just set a text box to:

[Enter Decision Date]


And that will prompt every time you open the report.
  #3  
Old May 14th, 2010, 03:20 PM posted to microsoft.public.access.reports
Mr-Re Man
external usenet poster
 
Posts: 77
Default Including non related text in a report

That is what I need but now when I ru nthe report, as I already have a prompt
box in the query (asking for letterID numbers), the message box is merging
the two together.

Originally it prompted the user to [Enter Letter ID (seperate multiple
records by a comma, no spaces:]

Then I added in a text box in the actual report =[Enter Decision Date]

But when I run the report, the box now indicates:

[Enter Letter ID (seperate multiple records by a comma, no spaces: ], 1
[Unknown] = [Enter the Decision Date]

and the report fails to to anything.

Is there any code to allow more than 1 prompt?

"ghetto_banjo" wrote:

Well, if you ever need to know a decision date of a past letter, then
you really should store it in the table. Otherwise, it will only be on
the printed letter.

If that is not an issue for you, you can make the report prompt for it
via a text box.

Just set a text box to:

[Enter Decision Date]


And that will prompt every time you open the report.
.

  #4  
Old May 14th, 2010, 04:25 PM posted to microsoft.public.access.reports
ghetto_banjo
external usenet poster
 
Posts: 325
Default Including non related text in a report

hmmm, normally it just does one prompt at a time. How is your first
prompt setup? Is it prompting on the query, or actually on the
report?
  #5  
Old May 18th, 2010, 04:32 PM posted to microsoft.public.access.reports
Mr-Re Man
external usenet poster
 
Posts: 77
Default Including non related text in a report

The first prompt in the query is by an expression.

Expr1: InStr("," & [Enter Letter ID (seperate multiple records by a comma,
no spaces: ] & ",","," & [LetterID] & ",")

Then when I aded in a further expression for the date, that's when it went a
bit pete tong.

cheers,


"ghetto_banjo" wrote:

hmmm, normally it just does one prompt at a time. How is your first
prompt setup? Is it prompting on the query, or actually on the
report?
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 OfficeFrustration.
The comments are property of their posters.