LOL... I never use the row insert buttons so that never occurred to me...
Thanks, Bruce.
This is not a high-security item. Rather, I don't want someone creating an audit record for a date that has not yet come. Instead of removing the button I decided to leave it tantalizingly in view but disabled, with a message saying that the future will come in its own time.
Just because I'm a jerk, and I can...
A fix would be nice but I just added my own logic to set the flag in the call to CreateStdBrowseButton.
BTW... this may be intentional but it seems that the [Start of "Set jQuery Update Buttonset Options" Priority 5000] embed in the GenerateUpdateButtonsAbove and GenerateUpdateButtonsBelow routines share code. Put something in one, close and open the procedure, and the code appears in the other one as well.
Cheers,
Jane