Writing option field through Ms Access and ODBC on database

GianfrancoGianfranco Member Posts: 8
I often import data from other db to Navision using Ms Access. When using Navision sql db everything is ok.

I'm now writing on Navision original db (v. 4.0 SP1) through Navision ODBC always using Access: everything is fine except when writing option field. I write different values (e.g.: 0, 1... 5) but when checking table, option field is set to 0 (zero) option.

Anybody knows how to solve this?

Thanks.

Comments

  • bestianhowbestianhow Member Posts: 120
    I usually use dataport to import data.
    This method will more safe. :D
  • kinekine Member Posts: 12,562
    Check the settings in C/ODBC (N/ODBC) - there is one option for the work with Option fields. You can select if you want them as Text or as Integer.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.