×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Write a value into an unbound text box in a Report

Write a value into an unbound text box in a Report

Write a value into an unbound text box in a Report

(OP)
I have a need to write several values directly into text boxes in an Access Report. Can someone please explain to me (Access Newbie) how to do this?

RE: Write a value into an unbound text box in a Report

This depends entirely on where the values are coming from and if there are dependencies to the value. Do you simply want the user to enter a value or is it pulled from a table or control on a form or where?

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016

RE: Write a value into an unbound text box in a Report

(OP)
Hi Duane,

I apologize! I didn't state that question very well.

In this situation the data have been entered into a Form by a User and have been brought into VBA code. These variables are all in a Public Subroutine. What I would like to do is to write the value of these 6 variables (some string and some integer) directly to text boxes in a Report. I assume those text boxes would need to be Unbound, but I'm not totally sure of that.

Thanks,

Ron

RE: Write a value into an unbound text box in a Report

Memory variables all have a scope of visibility so variables created in forms are only available in the form. There are also global variables and tempvars. Check Juan Soto’s article at https://www.microsoft.com/en-us/microsoft-365/blog...

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close