I am trying to make a form that only asks the user for some text input, then quits.
The problem is the textbox need sourceexpression. But since I do not use any table I don't have a field to use as an expression.
Anyone know how to do?
Navision developer
0
Comments
Define a global variable
Albert
"When the function is called, the minimum number of parameters should be used".
What function?
How are you calling this form. Have you defined a function? :roll:
At this time I only need simple input but I might want to expand it later, thanks tho.
I was planning on doing something like http://www.mibuso.com/howtoinfo.asp?FileID=7&Type=howto
I am still pretty new to how these forms in Navision works so if you could be a little more clear about what I missed I would appreciate it. I want the text field to be empty and when a user enters a text and click ok it should return this text to the original form (or passing a value from the original form so that this subform can execute code itself)
In the Main Form I call the Input Form modally, the user can enter some Text, chose OK or CANCEL and the Input Form close. The Main Form can pick up the Entered Text and process accordingly.
From your description it sounds something like that.
Here's the text file export of the two Forms (it's in a german Database so you probably need to change the locales into swedish before importing the textfile
I using an Array in the Input form to ensure future enhancements. Its also possible to set the default value in the Input Form.
Lycka till
Vielen dank