form repaint

  • Thread starter Thread starter Richard
  • Start date Start date
R

Richard

Hello

I have a form with a graph. When I click on a combo box, selecting a
criteria, the graph will update itself with the relevant information. That
was in w2k.

I switched to win7 and now it doesn't refresh itself. When I open another
form over the graph, and closes it, I am able to see the graph. I have tried
to repaint the form using me.form.repaint, on the after update event of the
combo but it doesn't work.

How do I overcome this issue?

Many thanks for your help in advance.
Richard
 
Richard,

What version of Access? It would also help to see the code you are using.

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Hello

I have a form with a graph. When I click on a combo box, selecting a
criteria, the graph will update itself with the relevant information. That
was in w2k.

I switched to win7 and now it doesn't refresh itself. When I open another
form over the graph, and closes it, I am able to see the graph. I have tried
to repaint the form using me.form.repaint, on the after update event of the
combo but it doesn't work.

How do I overcome this issue?

Many thanks for your help in advance.
Richard
 
Dear Gina

Many thanks for taking time to reply.

I have access 2003 installed, and on update event of the combo box, I just use

Me.Graph0.Requery

It works fine on w2k pro. In win7, it actually doesn't show the graph when
the form is loaded until i move something over it, like dragging another form
over it.

Thanks again
Richard
 
Richard,

Check the References and see if you any that say MISSING.

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Dear Gina

Many thanks for taking time to reply.

I have access 2003 installed, and on update event of the combo box, I just
use

Me.Graph0.Requery

It works fine on w2k pro. In win7, it actually doesn't show the graph when
the form is loaded until i move something over it, like dragging another
form
over it.

Thanks again
Richard
 
Richard,

No not the whole application, just the object.

Do you have problems with any other action executing? What happens if you
Requery the graph On-Open of the form?

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Gina

None whatsoever. Is there vba to refresh/repaint the application

Richard
 
Hi Gina

Nothing happens when we requery the graph at the onload event. The form just
opens without the graph. Hold the form and push it out of the screen and in
again, the graph shows...

I tried it with winxp and its works okay, so i think the issue is with win7.

Richard
 
Sorry, didn't answer your question.

On the same form is a list box which provides the same information when the
combo is updated. it works fine.

many thanks again for your time.

Richard
 
Richard,

Okay... I have created a form with a graph on my Windows 7 machine and the
graph doesn't show but the same graph shows on my XP machine. So now, I
have a mission... I have discovered that my query returns no records even
though it should return records. Have you checked the query that runs the
graph to see if yours is doing the same thing? I'm also noticing the graph
object is not displaying... So let me do a wee bit more research here
because this is starting to look like a glitch!

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Sorry, didn't answer your question.

On the same form is a list box which provides the same information when the
combo is updated. it works fine.

many thanks again for your time.

Richard
 
Dear Gina

Sorry for the late reply. I should think the query does run and as you
discovered only the graph is not displaying. When you move the form outside
the screen and back the graph displays.

Richard
 
Richard,

Yep, I saw that... I actually have someone else testing on their machine to
see if the same thing happens. Your post reminded me they haven't gotten
back to me, so I will see how his test went!

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Dear Gina

Sorry for the late reply. I should think the query does run and as you
discovered only the graph is not displaying. When you move the form outside
the screen and back the graph displays.

Richard
 
Richard said:
Dear Gina

Sorry for the late reply. I should think the query does run and as you
discovered only the graph is not displaying. When you move the form
outside
the screen and back the graph displays.

Richard
 
Richard,

Not so far... the only thing I have determined is that the graph is actually
there just not displaying. It even works on my Vista machine... it's just
Windows 7.

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Hi Gina

Any solutions to the issue?

Thanks
Richard
 
Hi Gina

Any way to solve the issue yet? I have been searching all over for a
solution but could not.

Thanks
Richard
 
Richard,

sorry to say that nothing so far. I knw the graph *loads* it just doesn't
display.

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Hi Gina

Any way to solve the issue yet? I have been searching all over for a
solution but could not.

Thanks
Richard
 
Gina

Many thanks for your time anyway.

Richard

Gina Whipp said:
Richard,

sorry to say that nothing so far. I knw the graph *loads* it just doesn't
display.

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Hi Gina

Any way to solve the issue yet? I have been searching all over for a
solution but could not.

Thanks
Richard
 
Richard,

Sorry I couldn't find a solution... and judging by the lack of others
chimming in I gather presently there is no solution... 8-(

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Gina

Many thanks for your time anyway.

Richard
 
Back
Top