Error-Msg: The Type 'UNDEF' is not defined for this Funktion

mkessler
Member Posts: 6
Hi,
first of all i have to say i am not the best in english but i hope its enought for here.
Actually i am on a Problem where i didn't find anything here on mibuso to fix.
I did download a nice Calendar-Tool here on mibuso created by Steve Florko SF1.0,1.1,1.2, really a goot tool. I did modify it as i needed. Now i have the following Problem within Navision 4.0:
In an Subform i have this code
and this is the funktion in the Mainform
I used this constellation to get a Date for an Textbox i "activate" on the Subform into a Variable in the Mainform. No Problem until here but now i have to "Update" the Textbox that should show the Variable after the "activation" in the Subform.
I did try
Original:Der Typ 'UNDEF' wurde nicht für die Funktion definiert.
Translation:The Type 'UNDEF' is not defined for this Funktion.
I know i didn't use the charakters UNDEF in such a constellation so it must be Navision natural Error-Message but i didn't find anything in Help or here on mibuso.
I also tried it in the other way i called a Funktion included orginal in the Subform that should reply the Date but i didn't work.
After aktivation the funktion didn't have the Date i seected.
I would be really glad if anyone now someting about the Error or have another idea how to do it. Thanks for all Help
first of all i have to say i am not the best in english but i hope its enought for here.
Actually i am on a Problem where i didn't find anything here on mibuso to fix.
I did download a nice Calendar-Tool here on mibuso created by Steve Florko SF1.0,1.1,1.2, really a goot tool. I did modify it as i needed. Now i have the following Problem within Navision 4.0:
In an Subform i have this code
DAY6 - OnActivate() ReturnDay(6); Routenplanung.Termin_holen(SelectedDate);
and this is the funktion in the Mainform
Termin_holen(Termin_übergabe : Date) Termin := Termin_übergabe; Message(format(termin));Message was just to show me if i got the Date i needed.
I used this constellation to get a Date for an Textbox i "activate" on the Subform into a Variable in the Mainform. No Problem until here but now i have to "Update" the Textbox that should show the Variable after the "activation" in the Subform.
I did try
CurrForm.UPDATECONTROLS;but didn't update the textbox so i tried
CurrForm.Terminfeld.UPDATE;and got this Message i can't really handle.
Original:Der Typ 'UNDEF' wurde nicht für die Funktion definiert.
Translation:The Type 'UNDEF' is not defined for this Funktion.
I know i didn't use the charakters UNDEF in such a constellation so it must be Navision natural Error-Message but i didn't find anything in Help or here on mibuso.
I also tried it in the other way i called a Funktion included orginal in the Subform that should reply the Date but i didn't work.
After aktivation the funktion didn't have the Date i seected.
I would be really glad if anyone now someting about the Error or have another idea how to do it. Thanks for all Help

0
Comments
-
I got this message sometimes if I work with Version 3.70.B and/or 4.0
I closed the windows (not Navision) and reopend them and all works fine.
I think this could be an error in the fin.exe and hope they correct it in SP1.Timo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
Thanks Timo i will try.
Edit:
Hmm now i did 3 things.
First: I closed all Windows in Navision and reopened my Window but Error still there.
Second: I closed the Database and reopened but Error still there.
Third: I closed the whole Navision and reopened but Error still there.
Now i will try to restart my OS but i don't think it will work after i did.
But anyway thanks to ur fast response Timo.
Edit2:
No it still not work.
Any other idea what i can do ? :-k
I could solve this Problem otherwise if i would know how i can make an Insert/Delete just after the activation of a Textbox but as far as i read in this Forum it's not possible to do it as long as u are inside Code that is triggered from OnActivate and after its to late to Insert/Delete.0 -
This error does not directly ring a bell, but have you carefully examined all your globals/locals and functions.
Maybe there is a variable or function not 100% completed somewhere.
Have you tried reproducing the error on a new form?0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions