form doesnt recognise Control#

David_Ferreira
Member Posts: 6
What the hell?
I've gotten a pretty simple form running, half feeding of a table, half being calculated, and I have an unbound label that I just use to make visible or invisible(to display a message on each case)
for some reason, it worked fine before, and now, though there are no compile errors, I always get the message "Form does not recognise control 14"(the name of the label before I changed it to a custom unreserved name...)
what could possibly be causing this? very frustrating since I know that everything would run perfect if i could only get rid of this error...
any gurus out there know about this?
thanks for your help.
I've gotten a pretty simple form running, half feeding of a table, half being calculated, and I have an unbound label that I just use to make visible or invisible(to display a message on each case)
for some reason, it worked fine before, and now, though there are no compile errors, I always get the message "Form does not recognise control 14"(the name of the label before I changed it to a custom unreserved name...)
what could possibly be causing this? very frustrating since I know that everything would run perfect if i could only get rid of this error...
any gurus out there know about this?
thanks for your help.
0
Comments
-
That message usually comes from a control that has a <NextControl> property that refers to another control that has been deleted. You must have deleted control 14 and there still is an existing control that has NextControl=14.0
-
When you call the control on the OnInit()
trigger you will get this error...did you do that? if you did, move it to OnOpenForm()
0 -
This is more a general hint: If you have problems like this I recommend you export the object in question as textfile. Start your text-editor ans simply search for the control in question. You would search for "Control 14", "Control14" or "NextControl=" in this particular case.
Marcus Fabian
m.fabian@thenet.ch
+41 79 439 78 72With best regards from Switzerland
Marcus Fabian0 -
Thanks for all your help guys,
I figured it out, Its all fixed and working now.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