Including non related text in a report

M

Mr-Re Man

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?
 
G

ghetto_banjo

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.
 
M

Mr-Re Man

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?
 
G

ghetto_banjo

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?
 
M

Mr-Re Man

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top