Hi,
When I try to import stock table items in POS (from a CSV file), I get an illegal function call on line 0 in module CF4. Both from POS (6.18) and PosConfg.
I admit that I'm trying to copy 11650 lines, but I've done it before in previous versions and it always worked fine.
Grtz,
J Mous
Import bug
Moderators:daleadmin, Dale Harris, Alan, Andrew
- Dale Harris
- Forum Owner
- Posts:1171
- Joined:Sun Dec 28, 2003 10:19 pm
- Location:Chicago
- Contact:
I guess if there was a problem with the file, the copying into the POS clipboard would fail.
That part went fine and the data on the clipboard looked OK.
Only when trying to paste the current clipboard into the stocktable, the problem occured. I failed to mention that in my previous post. I knew I was forgetting something.
Anyway, I sent you the file.
With kind regards,
J Mous
That part went fine and the data on the clipboard looked OK.
Only when trying to paste the current clipboard into the stocktable, the problem occured. I failed to mention that in my previous post. I knew I was forgetting something.
Anyway, I sent you the file.
With kind regards,
J Mous
- Dale Harris
- Forum Owner
- Posts:1171
- Joined:Sun Dec 28, 2003 10:19 pm
- Location:Chicago
- Contact:
Fixed
Actually it was a bug in the program. When I changed the program at the begining of this year to increase the maximum number of lines in the stock table from 5000 to 13,000 I did not change one of the many parts of the program than formatted the index that is used to quickly find any item in the stock table.
The old index used 4 bytes for each item so 5000 items would require an index of 20,000 bytes. The new index requires only 2 bytes per item so the program would work fine until you tried to store more than 10,000 different items. This error only occured when importing the clipboard into the stock table because all other parts of the program properly formatted the index.
I fixed this and sent the new file to J Mous yesterday but I forgot that it was also posted here so I did not post here until today. Since this was such a minor bug and people would rarely encounter it I did not change the version number. Use this link to download the update...
<center> http://keyhut.com/pos.zip </center>
The old index used 4 bytes for each item so 5000 items would require an index of 20,000 bytes. The new index requires only 2 bytes per item so the program would work fine until you tried to store more than 10,000 different items. This error only occured when importing the clipboard into the stock table because all other parts of the program properly formatted the index.
I fixed this and sent the new file to J Mous yesterday but I forgot that it was also posted here so I did not post here until today. Since this was such a minor bug and people would rarely encounter it I did not change the version number. Use this link to download the update...
<center> http://keyhut.com/pos.zip </center>
Dale
Who is online
Users browsing this forum: No registered users and 20 guests