NetTalk Central

Author Topic: Change from Insert Mode to Change Mode in a form  (Read 3159 times)

debzidoodle

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
    • Email
Change from Insert Mode to Change Mode in a form
« on: July 24, 2014, 06:25:00 PM »
I need to switch from insert from insert mode to change mode in a form when the user performs a specific action... writing the record to disk, like a pre-save.
What is the best method to accomplish this?

Thanks
Debra

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Change from Insert Mode to Change Mode in a form
« Reply #1 on: July 24, 2014, 10:03:20 PM »
Hi Debra
What I did was create the new record as a memory form. When I have done whatever I can either find the record and change it, or if it doesn't exists add a new record. Has the added advantage of not creating a primed record in MSSQL until I want it to.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

debzidoodle

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
    • Email
Re: Change from Insert Mode to Change Mode in a form
« Reply #2 on: July 25, 2014, 09:08:36 AM »
Thanks Terry, that did the trick