User Input (Dialog)
geri79
Member Posts: 105
Hi,
I want to set a variable by user input with a dialog.
The input dialog is called by a push button in the job card form.
When I press the button the dialog pops up but there is also an error message that the form doesn't recognize "control 1".
The dialog is set as a global in the form. What else do I have to do?
Thanks a lot
geri79
I want to set a variable by user input with a dialog.
The input dialog is called by a push button in the job card form.
When I press the button the dialog pops up but there is also an error message that the form doesn't recognize "control 1".
The dialog is set as a global in the form. What else do I have to do?
Thanks a lot
geri79
geri
0
Comments
-
Can you post your code? I need to know the OPEN part and the Input part.
And one thing - Dialog.INPUT is something, I am trying to avoid. There are another ways how to get the input...0 -
Your form properties probably has a TableBoxID entered with value 1.
Either remove this value or change it to your primairy control.0 -
Thank you guys. But I didn't get it...
I tried other id numbers as well. Doesn't work.
I guess my error is very simple. Is there a place where to assign control id's for a form?
"OnPush:"
sx:= sx + '\Type Reason (mandatory)/ Begründung für Änderung (Pflichteingabe)
#1########################## ';
sx:= sx + '\ \ Press ENTER-Key to submit \ Drücke ENTER-Taste zum Speichern';
DiscriptionInput.OPEN(sx);
DiscriptionInput.INPUT(1,disc);
DiscriptionInput.CLOSE;
IF STRLEN(disc) < 1 THEN
ERROR(' You must type a Description/Reason / Begründung muss eingegeben werden ');
Ty.geri0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

