Problems with text variables.. HELP!!

BeckaBecka Member Posts: 178
So... I'm facing the problem with text type variable(which is overflow under type).. I have text variable, with 1024 size.. that's max size in NAV 5.0 as i know .. so.. If any ideas about how to resolve my problem? thanks in advice... Thanks again
MCSD
Attain Navision

Comments

  • BeliasBelias Member Posts: 2,998
    what are u going to do with this string?if you are reading something from a text file, you can read 1024 chr at time and put them in an array of txt1024
    if you are writing to a file, you can write 1024 chr at time...
    maybe you can use blob or bigtext datatype, but i'm not familiar with them, maybe someone can say something more...
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • BeckaBecka Member Posts: 178
    I'm trying to write into a txt file... I don't know if BLOB or BigText is the key to my problem.. I'll try later.. thanks anyway :)
    MCSD
    Attain Navision
  • BeliasBelias Member Posts: 2,998
    then, try to write 1024 chr at time using copystr (you shouldn't use a dataport for this purpose)
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.