473,394 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Margin area in textbox not set correctly with conditional formatting.

I'm having a problem with MS Access 2003 and its conditional
formatting.

I have textboxes on a continuous form whose left and right margins are
set to 0.03 inches. Based on each textbox's current value, I set its
background color. No problem with this part.

My problem is that when clicking different text boxes representing the
records on the continuous form, the left and the right margin areas do
not always take on the background color set by the conditional
formatting. They seem to refresh to some default background color. In
other words, the left and the right margin areas of each textbox are
set with some default background color, while only the middle area
gets the conditional formatting color. If I set the margins to 0",
the problem goes away.

Is this a bug in Access 2003? Any workarounds would be helpful since
I need the margins to remain at 0.03".

Thanks.
Feb 25 '08 #1
2 3251
Robert, I've not observed that particular issue, but there certainly are
bugs in the way Access 2003 handles internal margins in controls. Scrollbars
fail. Size-to-fit doesn't work correctly. It would not be surprising if CF
didn't work correctly either.

You will probably find these issues are fixed in Access 2007, but AFAIK
there's no fix for A2003. If you are desperate, you can fudge it by placing
another text box behind your real one instead of using internal margins. The
other text box would be unbound, larger, locked, not enabled, and
conditionally formatted also.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<ro***********@gmail.comwrote in message
news:aa**********************************@62g2000h sn.googlegroups.com...
I'm having a problem with MS Access 2003 and its conditional
formatting.

I have textboxes on a continuous form whose left and right margins are
set to 0.03 inches. Based on each textbox's current value, I set its
background color. No problem with this part.

My problem is that when clicking different text boxes representing the
records on the continuous form, the left and the right margin areas do
not always take on the background color set by the conditional
formatting. They seem to refresh to some default background color. In
other words, the left and the right margin areas of each textbox are
set with some default background color, while only the middle area
gets the conditional formatting color. If I set the margins to 0",
the problem goes away.

Is this a bug in Access 2003? Any workarounds would be helpful since
I need the margins to remain at 0.03".

Thanks.
Feb 26 '08 #2
Allen,

Thanks for your suggestion. I will try that approach.

Robert

On Feb 26, 3:04*am, "Allen Browne" <AllenBro...@SeeSig.Invalidwrote:
Robert, I've not observed that particular issue, but there certainly are
bugs in the way Access 2003 handles internal margins in controls. Scrollbars
fail. Size-to-fit doesn't work correctly. It would not be surprising if CF
didn't work correctly either.

You will probably find these issues are fixed in Access 2007, but AFAIK
there's no fix for A2003. If you are desperate, you can fudge it by placing
another text box behind your real one instead of using internal margins. The
other text box would be unbound, larger, locked, not enabled, and
conditionally formatted also.

--
Allen Browne - Microsoft MVP. *Perth, Western Australia
Tips for Access users -http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<robertng90...@gmail.comwrote in message

news:aa**********************************@62g2000h sn.googlegroups.com...
I'm having a problem with MS Access 2003 and its conditional
formatting.
I have textboxes on a continuous form whose left and right margins are
set to 0.03 inches. *Based on each textbox's current value, I set its
background color. *No problem with this part.
My problem is that when clicking different text boxes representing the
records on the continuous form, the left and the right margin areas do
not always take on the background color set by the conditional
formatting. They seem to refresh to some default background color. *In
other words, the left and the right margin areas of each textbox are
set with some default background color, while only the middle area
gets the conditional formatting color. * If I set the margins to 0",
the problem goes away.
Is this a bug in Access 2003? * Any workarounds would be helpful since
I need the margins to remain at 0.03".
Thanks.- Hide quoted text -

- Show quoted text -
Feb 26 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jouke Langhout | last post by:
Hello all! For quite some time now, I've got the following problem: Access won't close properly when a user closes the application. An ACCESS process stays active and that process can only be...
3
by: Roberto Castro | last post by:
Hello! I have been assigned for the first time an adp Access project and so far I have managed to make the changes needed for some requirements. However, I am struggling to find the place where...
4
by: Bradley | last post by:
I have an A2000 database in which I have a continuous form with a tick box. There is also a text box with a conditional format that is based on the expression , if it's true then change the...
0
by: GGerard | last post by:
Hello With MSAccess 2000, I have created a program with forms and applied some Conditional Formatting on some of the text box.
8
by: Typehigh | last post by:
I have many text fields with conditional formatting applied, specifically when the condition is "Field Has Focus". Without any events associated with the fields the conditional formatting works...
2
by: Steve Richter | last post by:
I want my panel to have an inner margin. Problem is label text does not appear to recognize the margin. In this example, the TextBox aligns on the margin, the label does not: <asp:Panel...
4
by: slinky | last post by:
Thanks in advance... I have a continuous style form with a field for each record called "STATUS". I simply want to have the form load and if the value of the textbox is "Inactive" I want the...
7
by: GTalbot | last post by:
Hello fellow authoring.stylesheets colleagues, Can someone please explain why the bottom margin of the last inflow block-level child in an overflowed parent should not have its margin reachable....
3
by: jthomps8 | last post by:
Hello All. I have been struggling with how to get a field to print only on the first page of an Oracle Report in the margin section. We are running Oracle Reports R6i. All pages except page 1...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
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...

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.