On Mon, 8 Apr 2013 21:25:05 -0700 (PDT),
keith...@orcon.net.nz
wrote:
>I have a Form with two buttons 'Add some records' and 'Remove the records'. Pushin the first adds some records to a table and pushing the second removes the same records. This works fine.
>
>I also have a Status field which has two radio buttons - "Records not added" and "Records added". When I push 'Add some Records' I call a procedure which adds and updates the status. The status radio buttons has a set of Enable and Disable controls depending on the value of status.
>
>Affter adding records, the values of status and enabling/disabling of controls does not take effect. If I close and reopen the window the correct status and enabling etc are shown.
>
>How can I update these things from within my 'add records' procedure?
Add a line just after you had updated your "status radio buttons", you
can try to write DISPLAY on that line, test it out, or you can try
with UPDATE().
Btw, read the help about these two DISPLAY and UPDATE().
/Hans