By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,471 Members | 2,192 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,471 IT Pros & Developers. It's quick & easy.

Is this a bug?

P: n/a
Hi.

This could (!) be a bug in Access 2002. Please confirm.

With the Me.NewRecord method, I fill some controls of a form with
predefined values. One of these controls is a combobox. When I fill this
one with a correct value using ...

Me!TeeString = "THX306"

.... the combobox shows blank (nothing visible). However when I position
the cursor at the very right of the combobox, I see that some
(invisible) characters are left of the cursor. Pressing backspace makes
the characters visible (THX30).

Why is that?
Is it a bug?
Can I avoid it?
Is it also present in Access 2003?

TIA

--
Georges
Nov 12 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Yes. There are various scenarios where Access fails to show the data
correctly - particularly with combos - and it would very likely show up in
A2003 as well. For other examples of this kind of problem, see:
Incorrect display of data
at:
http://allenbrowne.com/bug-06.html

Since you are assigning a value in code, you may be able to solve the
problem by repainting the form at the end or your procedure, i.e.:
Me.Repaint

--
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.

"Georges Heinesch" <ne**@geohei.lu> wrote in message
news:40**********@news.vo.lu...

This could (!) be a bug in Access 2002. Please confirm.

With the Me.NewRecord method, I fill some controls of a form with
predefined values. One of these controls is a combobox. When I fill this
one with a correct value using ...

Me!TeeString = "THX306"

... the combobox shows blank (nothing visible). However when I position
the cursor at the very right of the combobox, I see that some
(invisible) characters are left of the cursor. Pressing backspace makes
the characters visible (THX30).

Why is that?
Is it a bug?
Can I avoid it?
Is it also present in Access 2003?

TIA

--
Georges

Nov 12 '05 #2

P: n/a
Allen Browne wrote:
Yes. There are various scenarios where Access fails to show the data
correctly - particularly with combos - and it would very likely show up in
A2003 as well. For other examples of this kind of problem, see:
Incorrect display of data
at:
http://allenbrowne.com/bug-06.html

Since you are assigning a value in code, you may be able to solve the
problem by repainting the form at the end or your procedure, i.e.:
Me.Repaint


Thanks very much for your reply, however in my case, it wasn't a bug. In
the code, I was referring to the name of the field in the table
(TeeString = "THX306"), instead of the name of the control
(Me!cboTeeString = "THX306") linked to that field.

After changing that, it worked!

Thanks.

--
Georges
Nov 12 '05 #3

P: n/a
Thanks for posting the solution.

"Georges Heinesch" <ne**@geohei.lu> wrote in message
news:40********@news.vo.lu...

Thanks very much for your reply, however in my case, it wasn't a bug. In
the code, I was referring to the name of the field in the table
(TeeString = "THX306"), instead of the name of the control
(Me!cboTeeString = "THX306") linked to that field.

After changing that, it worked!

Thanks.

--
Georges

Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.