NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on April 26, 2012, 09:59:07 AM

Title: NetWebYear - lots of records behave strangely
Post by: Niels Larsen on April 26, 2012, 09:59:07 AM
Hi

I have this NetWebYear control with a lot of records. When it reach a certain point, some html-code is shown.
Maybe because of the size of Packet 16K.
I can't quite figure out where in the code I need to "Do SendPacket".
I wonder if there is anyone here who are smarter than me?  ;)

Regards Niels
Title: Re: NetWebYear - lots of records behave strangely
Post by: Bruce on April 27, 2012, 12:16:17 AM
if it is the packet size being a problem, then you can make the length of the packet variable longer. See the Advanced tab on the settings for the procedure for that.

Cheers
Bruce
Title: Re: NetWebYear - lots of records behave strangely
Post by: Niels Larsen on April 27, 2012, 01:08:27 AM
Hi Bruce.

It was not the size of "Packet". It's definitely something with the number of records in the planner.
I have attached a copy of the html code and a screen dump.

/Niels

[attachment deleted by admin]
Title: Re: NetWebYear - lots of records behave strangely
Post by: Bruce on April 27, 2012, 02:12:59 AM
try;
edit netweb.clw
in DrawPlanRow method
declare
loc:data     String(Net:MaxBinData)
instead of
loc:data     String(2048)
Title: Re: NetWebYear - lots of records behave strangely
Post by: Niels Larsen on April 27, 2012, 02:54:13 AM
Didn't help.
But it's definitely something with a buffer-size.
Title: Re: NetWebYear - lots of records behave strangely
Post by: Niels Larsen on April 30, 2012, 06:08:02 AM
Hi Bruce.
Updating for 6.28 didn't help. But if I move the "Do SendPacket" inside the loop in the DrawPlanRow method, it works.
Can you see any problem in doing it that way? Maybe a speed problem?

Regards Niels


Title: Re: NetWebYear - lots of records behave strangely
Post by: Niels Larsen on May 02, 2012, 06:34:11 AM
Hi Bruce.
Did you see may latest replay?
/Niels
Title: Re: NetWebYear - lots of records behave strangely
Post by: Bruce on May 02, 2012, 09:48:04 PM
moving it inside the loop should be fine - I've done that for 6.29

cheers
Bruce
Title: Re: NetWebYear - lots of records behave strangely
Post by: Niels Larsen on May 03, 2012, 12:14:35 AM
 :D Thanks!