Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

access text box parameter value

Posted on 2013-01-28
3
Medium Priority
?
447 Views
Last Modified: 2013-01-28
Undoubtedly an easy answer to this but I can see it.

I want to put some standard text in a report and this text will not vary.

I have put a text box in there, blank, and when I run the report I get a message box. It asks me for the criteria.

When I put in anything such as XYZ in the criteria box this then appears in the report.

How do I get the same standard text in every report.

Is it via a label?
0
Comment
Question by:topUKlawyer
  • 2
3 Comments
 

Author Comment

by:topUKlawyer
ID: 38826560
... easy answer but i can't see it, meant to say.
0
 
LVL 61

Expert Comment

by:mbizup
ID: 38826568
If you need to hard code text, use a label instead of a textbox.
0
 
LVL 61

Accepted Solution

by:
mbizup earned 2000 total points
ID: 38826589
You CAN also use a textbox, but its control source property should be set in this manner:

= "XYZ"

But IMO, a label is the better choice since their purpose is to display fixed text.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

885 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