NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: bramkip on December 23, 2012, 11:45:28 AM

Title: Calling a Form from menu in NT70 - runtime error
Post by: bramkip 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
Title: Re: Calling a Form from menu in NT70 - runtime error
Post by: Bruce 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
Title: Re: Calling a Form from menu in NT70 - runtime error
Post by: bramkip 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
Title: Re: Calling a Form from menu in NT70 - runtime error
Post by: Bruce 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
Title: Re: Calling a Form from menu in NT70 - runtime error
Post by: bramkip 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