Solved

Access Report Problem

Posted on 2014-03-20
5
324 Views
Last Modified: 2014-04-02
I have created a report in Access 2013.  On the detail I have a Text Box and a Command Button.  When the Command is clicked I want to perform an action based on the content of the Text Box.  How do I get the content of the Text Box???
0
Comment
Question by:Ray Turner
[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
  • 2
  • 2
5 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 39942198
You refer to a Textbox like this:

Me.NameOfYourTextbox

So if I wanted to popup a Msgbox:

Msgbox "Value is  " & Me.NameOfYourTextbox

However, on a Report, you will have multiple instances of the TExtbox, if you're referring to one in the Detail or Group sections of your report.
0
 

Author Comment

by:Ray Turner
ID: 39942496
I'm referring to the one in the Detail Group.
0
 

Author Comment

by:Ray Turner
ID: 39961975
I've requested that this question be closed as follows:

Accepted answer: 0 points for rgturner's comment #a39942496

for the following reason:

Reference an item in the Group band the same way you reference an item in the Detail band.
0
 
LVL 84
ID: 39961976
Wasn't that basically what I told you - that you reference the two the same way?
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
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…

726 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