NetTalk Central

Author Topic: INsert form does not clear the file buffer  (Read 3881 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
INsert form does not clear the file buffer
« on: June 14, 2017, 05:56:31 AM »
Going from my login page to the register page (both use the same file and fields)
Calling the reg page with a button in insert mode, I cant make the user and pass values to get cleared.
Ive added code everywhere in the form and nothing.
How to solve this?
Thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: INsert form does not clear the file buffer
« Reply #1 on: June 20, 2017, 12:00:08 AM »
You need to clear the session value of the local data fields.
Where you do it depends a lot on what your context is, but maybe try at the top of GenerateForm routine.

cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: INsert form does not clear the file buffer
« Reply #2 on: June 21, 2017, 06:08:12 AM »
Ive added it in many many embeds, see image, and nothing...

Ive put the code even in Value::USU:ALIAS but it results in a loop clearing it and restoring it

I dont know from where!!
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: INsert form does not clear the file buffer
« Reply #3 on: June 21, 2017, 11:14:51 PM »
If you right-click on the procedure in the app tree, and then choose Source,
you can search for the variable and see where it is set, and used.
That's the best way for you to understand where to reset it.

cheers
Bruce