How to know which form is currently open?

dulamandulaman Member Posts: 73
Hi,

I have a table (Machine) that is open thru three different forms (Machine Type 1, Machine Type 2, Machine Type 3) depending on some filters. When I want to insert a new record in this table, I need to know which form is open because this new record must be inmediately filtered as it should appear into the correct form (the current one).

How can this table (Machine) know which is the current open form, so?
I guess I need to pass some value (a variable, a field?) from the form to the table, but I cannot find out the way!

Thanks in advance!
-- dulaman
"I don't want to believe. I want to know." (Carl Sagan)

Answers

  • kinekine Member Posts: 12,562
    You can use property "PopulateAllFields" to automatically fill all fields with filtered values (but the filters must be just one value, not range).
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • BalelloBalello Member Posts: 61
    Sometime I discover new properties that I see..... but never use (F1, I must remember this useful key!).
    And, of course, it's kine. :wink:
    I don't envy anybody who caught up his aim. I travel gladly.
  • dulamandulaman Member Posts: 73
    Pls excuse the delay in replying -- I couldn't post this reply before, but right now I must thank you kine, you're as smooth as usual. You make Navision look so simple!! =D>
    -- dulaman
    "I don't want to believe. I want to know." (Carl Sagan)
  • kinekine Member Posts: 12,562
    Navision is simple, when you "think in Navision way" :-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.