Very long strings

kszymanskikszymanski Member Posts: 42
edited 2001-12-12 in Navision Financials
Hi!

I write a small Report that delivers some
Navision-Tabledata to one of our MySQL-Servers. This is working so far. But...

Now i wan't to export a Table with much fields so that the 'INSERT INTO *'-String gets very long (round about 1000 chars). If
i try to write the string to a file:

FH.WRITE( 'INSERT INTO test (x1,x2,x3...)
VALUES(y1,y2,y3...);');

I get an error:

Not enought memory on C/AL Stack.

Also i try to message the String but then i
get the same error.

How i can handle long string into a file <img border="0" title="" alt="" src="images/smiles/icon_confused.gif" /> ?

Thanks!

Best regards,
Kai.


Thanks
--
Kai Szymanski
Abt. eBusiness
D. Schuricht GmbH & Co. KG

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Maybe you can write 2 SQL-statements. First, use INSERT INTO to create the record into your SQL database, and fill-in some data. Secondly, use UPDATE to add some more data.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Sign In or Register to comment.