NetTalk Central

Author Topic: Weird Behavior using Insert Button  (Read 3116 times)

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Weird Behavior using Insert Button
« on: March 01, 2011, 06:22:43 AM »
Memory form

I have a button which unhides a browse on the form.
Button uses session values to undie form
Button does a reset on the browse to cause the unhide action.

When I click the browse's insert button, it "refreshes" or calls the memory form and then, upon a second click of the insert button, it calls the update form.

In short, I have to click the insert button twice to insert a record.

Any thoughts?

Thanks!
Don

NetTalk 4.56
Clarion 6.1
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Weird Behavior using Insert Button
« Reply #1 on: March 01, 2011, 07:19:30 AM »
Nothing springs to mind Don, but it is NT4 so anything is possible. If you can make an example showing the effect I can see if I can duplicate it here.

cheers
Bruce

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Weird Behavior using Insert Button
« Reply #2 on: March 01, 2011, 07:30:51 AM »
It seems to have something to do with the reseting of the browse.

I did away will have of the hiding and unhiding stuff as well as the reset.  Now the insert button work fine.

I'm thinking there is some session variable that is cleared perhaps when the reset takes place.

Don

P.S.  Yeah I know...  I want the customer to upgrade to NT5 but so far no dice.  I LOVE NT5!!
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11