Import & Export records

Administrator
Administrator Member, Moderator, Administrator Posts: 2,506
edited 2010-03-01 in Download section
Import & Export records
This is a stand-alone codeunit for importing and exporting data from tables.

It has multi-tables support and uses only Microsoft XML, v6.0 automations.

Great for moving data.

http://www.mibuso.com/dlinfo.asp?FileID=1099

Discuss this download here.

Comments

  • kribo
    kribo Member Posts: 12
    Hi,

    Love your APi but I've got a prob with it.


    assignFieldRef(VAR fieldRefs : ARRAY [255] OF FieldRef;VAR recRef : RecordRef)
    FOR i:=1 TO recRef.FIELDCOUNT DO
    fieldRefs:=recRef.FIELDINDEX(i);

    FIELDINDEX exceeds the ARRAY
  • IsakssonMi
    IsakssonMi Member Posts: 77
    Hello, it seems like there are more than 255 fields in your table. This is a nasty limitation because we have a maximum count of 255 elements in a Nav-array.
  • ara3n
    ara3n Member Posts: 9,258
    I believe the max array is at 10K. You can increase the array in the variable to 1K if you like. and add an error if there are more than 1000 fields in your table.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n