Key List of the table

BeliasBelias Member Posts: 2,998
hi everyone, it's too much time i keep this only for me, so i'll ask if someone has find some way to do it:
Is there a damn way to see the list of keys of a table in the c/al symbol menu or somewhere else, without keeping another client open only to browse the object designer?it's really a pain to write setcurrentkey instruction manually ](*,)
Thanks in advance
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog

Comments

  • DaveTDaveT Member Posts: 1,039
    Hi Belias,

    You could code something around the system table Key 2000000063
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • BeliasBelias Member Posts: 2,998
    Do you mean to create a form with a filter for the table, list of keys etc?
    you're right, but this means to mouse working while you're writing code (ctrl+tab never get you where you want :mrgreen: )...anyway, it's better than nothing.. :roll:
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • DaveTDaveT Member Posts: 1,039
    Hi,

    You could add code that creates the syntax in a textbox that you can cut/paste into where you are working
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • BeliasBelias Member Posts: 2,998
    yes, sure...this is what i've understood from your original post: parse the comma separated key list and make it something like
    (variable must be written manually in the code).SETCURRENTKEY('"' +key1+'","'+key2+'"')
    isn't it?
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • DaveTDaveT Member Posts: 1,039
    Hi,

    Yes, that's it - will it be worth the time - and having to import the fob into each database?
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • BeliasBelias Member Posts: 2,998
    we're thinking the same way...it's not so painful to create it...the real pain is that in an ideal world you have to have this form on each database...and remember to not close it (and i usually keep only a minimum number of windows opened within nav)..let's hope for a new release of codegenius :)
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.