NetTalk Central

Author Topic: Calling a Form from menu in NT70 - runtime error  (Read 3086 times)

bramkip

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • Intellisoft
    • Email
Calling a Form from menu in NT70 - runtime error
« on: December 23, 2012, 11:45:28 AM »
Hi,

After upgrading from NT6.51 to NT70 calling a Form (without Browse) from a menu doesn't work anymore. The program crashes with an Runtime error (Index out of range)

'UpdateSchoolkaart?change_btn=change&_bidv_=' & p_web.AddBrowseValue('PageHeaderTag','Scholen',SCH:id_Scholen_key,p_web.GSV('sav:id_school'))

Any help please.

Thanks.

Bram

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Calling a Form from menu in NT70 - runtime error
« Reply #1 on: December 23, 2012, 10:41:45 PM »
there , there, - no need to panic. It's not the end of the world :)

fixed for the 7.03 build.

cheers
Bruce

bramkip

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • Intellisoft
    • Email
Re: Calling a Form from menu in NT70 - runtime error
« Reply #2 on: December 24, 2012, 01:03:08 AM »
Hi Bruce,

Not the end of the world, but very inconvenient in a live environment.

Regards,
Bram

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Calling a Form from menu in NT70 - runtime error
« Reply #3 on: December 24, 2012, 05:35:08 AM »
ha ha - yeah, but if it _had_ been the end of the world, then it wouldn't have mattered. So perversely it's only important because it's not the end of the world...

7.03 should be up soon.

In the meantime, if you have 7.02, then you can tweak the fix into netweb.clw directly.
On line 6738 of netweb clw is the statement

loop

change this to

loop while p_start <= p_end

cheers
Bruce

bramkip

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • Intellisoft
    • Email
Re: Calling a Form from menu in NT70 - runtime error
« Reply #4 on: December 24, 2012, 02:45:41 PM »
Hi Bruce,

Therefore I waited to report this error after Friday to see of the world still exists. ha ha.

I tweaked netweb.clw as you wrote and that solved it. Thanks.

I wish you a merry Christmas.

Bram