Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

Exporting serialized containers to file as binary?

$
0
0

I have been using the Textio & Comma classes to try and export records from a table (simple schema such as str,str,container). In SQL when I add a record to this table it saves the container as varbinary. However when I extract the records using one of the classes listed above it trys to serialize my container into a string and is messing up the format of my csv instead of getting "foo","bar","0x07FD300" I get "foo","bar","a","b",d",,"a" for example.

Does anyone know how to convert the container to binary so I can store it without messing up the schema of my csv file?


Viewing all articles
Browse latest Browse all 9880

Trending Articles