Using Command.selectFormsEx in an edit form causes crashes after the record has been saved. It makes no difference whether Command.saveRecord has been called within the script, whether save is selected from the menu or toolbar, or indeed whether a record from the current recordset has been updated using the recordset object Update() method. If the records in the current recordset have not required updating or saving, no crash occurs.
I have tried placing the selectFormsEx command within the onRecordSaved() event to be sure that the save has been completed successfully before any new form is selected, and it makes no difference.
I cannot reproduce the behavior you describe. Command.selectFormsEx works fine for me in an edit window after records have been saved, using DB/TextWorks 5.01 on a Windows NT machine.
You'll need to send your textbase, with:
- exact instructions for how to reproduce the problem (e.g., display the report using form ex, choose Edit using form Y, do this this and this, then you'll get the crash) - information on what version of DB/TextWorks you're using and what version of Windows
to product support, assuming you have a contract, so they can diagnose the problem.
Posts: 1890 | Location: Woburn, MA, USA | Registered: Thu July 13 2000
quote:Originally posted by Lisa: I cannot reproduce the behavior you describe. Command.selectFormsEx works fine for me in an edit window after records have been saved, using DB/TextWorks 5.01 on a Windows NT machine.
You'll need to send your textbase, with:
- exact instructions for how to reproduce the problem (e.g., display the report using form X, choose Edit using form Y, do this this and this, then you'll get the crash) - information on what version of DB/TextWorks you're using and what version of Windows
to product support, assuming you have a contract, so they can diagnose the problem.
Posts: 1890 | Location: Woburn, MA, USA | Registered: Thu July 13 2000