Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh a graph on a from

Status
Not open for further replies.

dunner44

MIS
Jul 27, 2004
32
US
How do I make a graph refresh after an field is updated. I tried in the Textbox AfterUpdate event to requery the graph, but that didnt work. Any suggestions?

Thanks
 
Is the record saved when you requery the graph ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Do you mean have do I have the code DoCmd.Save, or is there another code?
 
Perhaps this:
DoCmd.RunCommand acCmdSaveRecord

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
I have had sucess with placing the following on afterUpdate event for the form

DoCmd.RunCommand acCmdSaveRecord
docmd.requery "YourGraphName"


Cheers,
 
Thank you all. I was successful with DoCmd.RunCommand acCmdSaveRecord.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top