473,468 Members | 1,328 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How Do You Populate A Bound TextBox With Text From an Unbound TextBox

gcoaster
117 New Member
Hello *.*

Can someone please help, after hours and hours I am turning for help..

I have 4 fields that are unbound on a form.
img1 img2 img3 img4

When these are entered they are all combined and autofill another unbound textbox = imagename

SIMPLE?
what i would like to do is from this unbound textbox 'imagename'

i would like to populate a textbox that IS bound called FileName

i have tried EVERYTHING, well almost everything!

Am I Close?
[Event Procedure]
Expand|Select|Wrap|Line Numbers
  1. Private Sub imagename_Click()
  2. Me.imagename = Me.FileName
  3. End Sub
Mar 23 '14 #1
3 3067
Seth Schrock
2,965 Recognized Expert Specialist
Please use Code tags when posting code: Before Posting Code

You are close, but you need to switch the order of your control names. When assigning a value to something, the something that is getting changed goes on the left side of the equals sign and the new value goes on the right side. So if you are wanting your FileName textbox to equal what is in the ImageName textbox (which is what I believe you are trying to do), then you would need to write it like this:
Expand|Select|Wrap|Line Numbers
  1. Me.FileName = Me.ImageName
Mar 24 '14 #2
gcoaster
117 New Member
Hello,
Oh wow, I figured it out after 2 days,.. I fixed it than stared at the screen for a minute and uttered 'Seriously?'

i had to go to FILE than enable content, it was a security setting protecting me against myself i guess...

No Warnings, No Hints why Event Procedures would not work.

they just plain did not work..

Thanks a lot microsoft!!!!!!!!!!!! No wonder i mysteriously abandoned access years ago and tried to do everything in excel! ;-0


thank you Seth
Mar 26 '14 #3
Seth Schrock
2,965 Recognized Expert Specialist
That isn't one of the things that popped into my mind. I'm not sure that I would have thought of that one. Glad you got it to work.
Mar 26 '14 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: jaYPee | last post by:
I have an unbound textbox in my report that is bound from the textbox in my Dialog Form using a controlsource using Access 97. However after I ported my database to SQL Server 2000 and use Access...
2
by: Alpha | last post by:
Hi, I have a window based program. One of the form has several textboxes and a datagrid. The textboxes are bind to the same dataset table as the datagrid and the text changes to reflect different...
5
by: Steve S | last post by:
Heres what I want to do...User types into a texbox, clicks a button, the button saves that text to a file. The problem is that when I click the submit button, any changes made to the textbox are...
0
by: colleen1980 | last post by:
Hi: There are two textboxs in my main form. One is bound and another is unbound. There is no entry in the unbound textbox as values come into automatically after entering some information in the...
3
by: Richard | last post by:
How is the result of query placed in a unbound textbox ? Suppose CriteriaLookups has columns TableName, KeyColumn, KeyValue, DataColumn Foo,x,11,xhat Bar,z,3,xyzzy And
11
by: Enrique2 | last post by:
Hi experts, I was wondering if you could help me out here. AccumulationSum is an unbound textbox that calculates the sum of bound field Accumulation. The control source is =Sum( Whe I try...
8
by: crazyhouse | last post by:
I want to use temporary information from an unbound textbox, but i cant seem to run any code on an unbound textbox. Is this possible. I have it working with a bound "control" but cant seem to make...
2
bre1603
by: bre1603 | last post by:
I'm trying to run an UPDATE statement on a table that changes every time the user runs the code. Here's some info: (On a form) The user imports a text file, using a button to open a file browser...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.