title: Access 2010 Me.Refresh/Me.Requery
body: <p>I have a form that I want refreshed when the submit button is clicked. Preferably those that have default values will be restored and those without will be blank.</p>
  
  <p>The submit button has an attached OnClick Macro that, checks to make sure all fields are filled, if so an action query runs that inserts a new row into a table.</p>
  
  <p>So its after this action query that I want the refresh to occur. I have tried researching and come across suggestions that suggest using VBA code Me.Requery or Me.Refresh. I'm not 100% on how to incorporate this into the macro. The RunCode command doesn't recognize the function I put the code in, and The convert macro to VBA option in the top left is grey'd out.</p>
  
  <p>I'm new to Access and just not seeing where the communications are for code and macros if someone could please elaborate for me I would be greatly appreciated.  </p>