NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started 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
-
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
-
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]
-
try;
edit netweb.clw
in DrawPlanRow method
declare
loc:data String(Net:MaxBinData)
instead of
loc:data String(2048)
-
Didn't help.
But it's definitely something with a buffer-size.
-
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
-
Hi Bruce.
Did you see may latest replay?
/Niels
-
moving it inside the loop should be fine - I've done that for 6.29
cheers
Bruce
-
:D Thanks!