>I created a form using the wizard which automatically puts the wizbtns in the form, the sequence of cmd buttons "ADD EDIT REVERT DELETE" etc.
>
>I need to modify this so that when a person clicks 'ADD', it populates a field with the current recno(). But I can't modify this class. I tried copying the class but I still can't tinker with it. I'd like to know how the 'REVERT' button shows up when the 'ADD" is clicked. Thank you.
Hi Tim,
Code is in wizstyle.vcx 'txtbtns' class. As far as I remember caption change was done in 'Navrefesh' or 'ButtonRefresh'.
You don't need to tinker class code to insert a value in a field though. There are several ways with one being putting it to field's default value.
However in your case I think it's dangerous. There you'd be using buffered tables where using recno() is invtation to headaches.
Cetin