I have some entries that are used by themselves and in combination with each other. After I enter the data and run an update to combine strings I would like to see the update without closing and opening the form. Is there a way?
I have some entries that are used by themselves and in combination with each other. After I enter the data and run an update to combine strings I would like to see the update without closing and opening the form. Is there a way?
What do you mean by 'combine strings'? Why is data combined?
Code can run Requery or Refresh method.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
As a for instance, I have a school year that is displayed as 2013 - 2014. But I am using these years for predictions for next and other school years like 2014 - 2015.
But to do this I have to add 1 to each current year. I need the years separate for the calculation, but have to display them as 2013 - 2014, so I combine the individual years to form the combined school year.
The school year value could be calculated whenever needed.
However, is the issued resolved with suggestion?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
If I store the School Year as 2013 - 2014, how would I do a calculation on that value?
Also, I don't really understand what you meant with "Code can run Requery or Refresh method."
I said the "2013 - 2014" string can be calculated when needed, doesn't have to be saved to table.
Code in some event (button Click, form AfterUpdate, etc):
Me.Requery
or
Me.Refresh
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
OK, I'll try that.
But to my original question; is there a way to refresh the form (a PF key like F9 does in Excel)?
Click RefreshAll on the ribbon or run suggested code.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Perfect. Problem solved.