NetTalk Central

Author Topic: NetWebYear - lots of records behave strangely  (Read 5879 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
    • Email
NetWebYear - lots of records behave strangely
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11297
    • View Profile
Re: NetWebYear - lots of records behave strangely
« Reply #1 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

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
    • Email
Re: NetWebYear - lots of records behave strangely
« Reply #2 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]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11297
    • View Profile
Re: NetWebYear - lots of records behave strangely
« Reply #3 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)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
    • Email
Re: NetWebYear - lots of records behave strangely
« Reply #4 on: April 27, 2012, 02:54:13 AM »
Didn't help.
But it's definitely something with a buffer-size.

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
    • Email
Re: NetWebYear - lots of records behave strangely
« Reply #5 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



Niels Larsen

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
    • Email
Re: NetWebYear - lots of records behave strangely
« Reply #6 on: May 02, 2012, 06:34:11 AM »
Hi Bruce.
Did you see may latest replay?
/Niels

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11297
    • View Profile
Re: NetWebYear - lots of records behave strangely
« Reply #7 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

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
    • Email
Re: NetWebYear - lots of records behave strangely
« Reply #8 on: May 03, 2012, 12:14:35 AM »
 :D Thanks!