I want to have my form refresh onselect of an icon. I am trying to do this without use of a hyperlink since we are having a versioning problem. Is there a function that will reload my form onselect? Please and thank you
Thank you for the help! I don't think this is an issue that can be resolved as envisioned.
Sorry I think I misunderstood your question a little - ResetForm is just for a form, not a screen. If you just need to reset a form that's when to use it.
If you're trying to reset an entire screen in one line of code, I'm not sure that there is a way, or what it is, and a brief search didn't reveal much on this specifically - perhaps someone else knows how to do this?
There are ways to reset all screen controls which are more efficient than writing reset functions for every single control on screen, such as in the solution to this post, if that's your aim here.
when I resetform(screen1) I get an error. I don't want to have to reset each field either. thanks for your help, please let me know what I'm missing.
You could look at using the ResetForm function, which resets forms back to all their defaults.
Use just the Reset function for other controls.
Hope this helps!
WarrenBelz
146,594
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional