473,486 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

IIF in the Control Source property of a txtbox

7 New Member
Hello all. I have created a txtbox to display data based on another control. When I close my database and reopen it the txtbox displays #Name?. The odd thing is, if I change the name of the txtbox it will display IOP COUNT as I need it to, untill I shut it down and open it back up. I am not sure if there is anything I am doing or if it is a bug.

Below is the code in my txtbox.
=IIf([Request Type]="OBS/SUP","IOP Count:",Null)
Jan 22 '14 #1
5 1028
jimatqsi
1,271 Recognized Expert Top Contributor
We had something like this pop up a few months ago ... what is in the Default property of your text box?

And what do you mean by " if I change the name of the txtbox "? I think you mean something else, not actually changing the name of the text box object.

Jim
Jan 22 '14 #2
djchaney3
7 New Member
When looking at the property sheet, on ALL the first line (Name) when I change that the formula works, untill I shut the program down again and open it up.

The Default value is blank

I am the only one this affects it appears. 9 of us use this database and yet it only affects me. I have 6 people on Win7 Access 2010 and 3 of us are on XP Access 2007. It may be my PC I assume some setting maybe?
Jan 23 '14 #3
zmbd
5,501 Recognized Expert Moderator Expert
Using two different versions of Access on the same database is a guaranteed disaster waiting to happen!

The different OSs are not as much of an issue.

It has been a year or more ago that I seem to remember another member having something simular happening. It turned out that they also had different versions of Access opening and closing the same database. It seems to me that the solution was to split the database and push a copy of the front-end down to each client PC.
Jan 23 '14 #4
djchaney3
7 New Member
The rest of my team will be migrated to the new versions within the next week or so. I will wait to see if this clears it up.

We are already using a split database with a front and back end. I am assuming the issue is something with my PC or software as it only happens to me. Thank you for all of your assistance.
Jan 23 '14 #5
NeoPa
32,556 Recognized Expert Moderator MVP
It's definitely worth making a separate copy for those using a different version. Using a different version than the one it was designed on typically causes changes to be made that are not consistent with the original. I've learned that one the hard way.
Jan 24 '14 #6

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

Similar topics

6
2255
by: Mark Lees | last post by:
I've created some fields that calculate future dates. The way they are set up they do not save to a table. This is the expression I used (=DateSerial(Year(),Month()+6,Day(). I placed it in the...
5
18231
by: Cro | last post by:
Hello Access Developers, I'd like to know if it is possible to perform a count in an expression that defines a control source. My report is based on a query. In my report, I want a text box to...
9
7389
by: Jack | last post by:
In the control source of a textbox, is there a way to refer to a column of a combobox? For example: =.Column(2) Thanks, Jack
2
13132
by: Rob Richardson | last post by:
Greetings! I just developed a little control I've wanted for ages. It links a textbox and a label into a single control. At first, I gave it a property named LabelText and another named...
1
1387
by: Buz Waitz | last post by:
I'm trying to write to the application error log in a user control and am getting the message that the source property was not set before writing to the error log. I'm having trouble tracking down...
2
4892
by: jerry.ranch | last post by:
I've been using row source with the QBE for my list and combo boxes..when would I use control source? jerry
4
18774
by: Anja | last post by:
Hi everyone, I am trying to use the expression builder to create input to a control in an Access report. I have a table called Records and I want to select the minimum date for a record where...
4
13924
by: Lou O | last post by:
Is it possible to use the row (index) of a list box as control source Property for a text box? Example: Text1.ControlSource Property is set to "= List1.Column(0,2)" in design view. When I open...
1
4560
by: BobVezz | last post by:
I have a report and a sub-report. I want to reuse the sub-report in the main report, but change the Control Source of a TextBox for each use. I am coding: Reports!!.Report!.ControlSource = "=""Value...
10
32095
by: bkyzer | last post by:
I have a column of data that is in a form called Assigned To. This control is a combobox and the control source for this control is as follows: SELECT , FROM ORDER BY ; is a query that is...
0
7100
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
7126
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7175
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
6842
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...
1
4865
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
4559
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...
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.