Non Unique Column Reference - Help

haja12_aamshaja12_aams Member Posts: 13
Im trying to access the Item Category table in Nav 5 throu NODBC but i got the error mess "Non Unique Column Reference "Replenishment Rule Code". How to solve this problem. I need this table in excel pls help me

Tnx in advance
Haja

Comments

  • ara3nara3n Member Posts: 9,256
    Hello, two of your column have the same caption. Check the captions on each field in that table.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • haja12_aamshaja12_aams Member Posts: 13
    :) Thanks a lot Rashed now it works fine. i have changed the caption. another one question

    is nodbc catch caption only?
  • ara3nara3n Member Posts: 9,256
    Nodbc displays the Captions only. So if you are running in different languages they'll see the fields in their language.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • haja12_aamshaja12_aams Member Posts: 13
    Tnx Rashed now i understand. why i couldn't access the ITEM table through nodbc. i got 'too many column some columns are omitted' why i get this error? navision ppl said it can work but they didnt tell the solution. do u kn anything abt it?


    Thanks a lot Rashed.
  • ara3nara3n Member Posts: 9,256
    I don't know, the NODBC developer who wrote it could answer that.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • haja12_aamshaja12_aams Member Posts: 13
    Its ok. Thanks Rashed :)
  • bimo88bimo88 Member Posts: 22
    hi haja12_ams,

    so i'm trying to do the same as u but i didnt find a solution .did u find a solution ?
  • joh_verjoh_ver Member Posts: 31
    About the number of columns, you can change it in the registry.
    Look for the the MaxColSupport key and change it to e.g. 300.
  • cfvcfv Member Posts: 19
    Hello,

    I've got the same problem with ODBC (Navision 2009 "classic")
    "Non Unique Column Reference" but I dont find 2 columns which have the same caption.

    Thank you if you can help me
  • cfvcfv Member Posts: 19
    Sorry,

    After having looked for doubloons for the 4th time (in the same table !!!) I finally found 2 columns whith the same caption !
  • ara3nara3n Member Posts: 9,256
    When you design the table, click on show Column and select Caption.

    This shows the caption and makes it easier to search for double captions.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.