Solved

assign the value of a tempvariable

Posted on 2013-10-30
2
230 Views
Last Modified: 2013-10-30
I have an unbound textbox that I need to assign the value of a tempvariable. I have already created the tempvariable, all i need to do is

assign the value of the tempvariable to the textbox

something like

set textbox2 = [tempvars]![mytempvariable]

thanks
0
Comment
Question by:damixa
2 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
Comment Utility
you don't need the word "set", just use

me.textbox2 = [tempvars]![mytempvariable]


or

forms!NameofForm.textbox2 = [tempvars]![mytempvariable]
0
 

Author Closing Comment

by:damixa
Comment Utility
Thanks man, much appreciated
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now