My problem is following:
1. I have Table no, Field no and Form no stored in record
2. I want to run a form Form No in lookup mode
3. I want to obtain a value of Field no from selected record
Prerequisitiy : Form's main table is Table no.
Is it way to code it? Thank you
0
Comments
But if you can change all the forms with one function, the solution can be done - if you will have one Singleinstance codeunit with functions:
SetFieldNo
GetFieldNo
SetFieldValue
GetFieldValue
Which will set global variables in this way:
SetFieldNo - store required Field no...
GetFieldNo - read this Field no...
SetFieldValue - store the value of required Field
GetFieldValue - read the value back
You can do something as (pseudo code):
Where FormMgt is your new SingleINstance codeunit.
Think about it, it is not so hard. How to exchange data between objects is somewhere in HowTo section...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
http://www.mibuso.com/howto.asp
http://www.BiloBeauty.com
http://www.autismspeaks.org