is there a bug with the export/importing objects to .txt ?

dabatla
Member Posts: 5
I have a problem that is really giving me a headache, so if somebody can help I would really appreciate it.
I'm trying to renumber a lot of objects in my database, but that is irrelevant to my problem. The problem is that when I export the objects that I want to renumber, and try to import them again, I get the following error message : "'Begin' should come here"
Now this doesn't make any sense, When I thought that I did something wrong with the renumbering, I exported it to .txt again and imported it into a new database WITHOUT changing ANYTHING in the exported file.I then got the same error message.
I also tried removing the problem object from the database, this seems to work, but then I get another error a bit later on.
I spent the last hour looking at the code of that object and I am confident that the problem isn't in the object itself as for the following reasons :
* When I exported it as a .fob and imported it back again with the .fob everything works fine.
* Everything compiles perfectly
My only conclusion is that either I made some kind of mistake(which i'm confident I didn't) or that under certain conditions either the export or import functions has a bug in them.
I'm using Navision 3.70
Thanx
I'm trying to renumber a lot of objects in my database, but that is irrelevant to my problem. The problem is that when I export the objects that I want to renumber, and try to import them again, I get the following error message : "'Begin' should come here"
Now this doesn't make any sense, When I thought that I did something wrong with the renumbering, I exported it to .txt again and imported it into a new database WITHOUT changing ANYTHING in the exported file.I then got the same error message.
I also tried removing the problem object from the database, this seems to work, but then I get another error a bit later on.
I spent the last hour looking at the code of that object and I am confident that the problem isn't in the object itself as for the following reasons :
* When I exported it as a .fob and imported it back again with the .fob everything works fine.
* Everything compiles perfectly
My only conclusion is that either I made some kind of mistake(which i'm confident I didn't) or that under certain conditions either the export or import functions has a bug in them.
I'm using Navision 3.70
Thanx
0
Comments
-
Hello
One possibility occurs to me - Is a) one or more of the obejcts a table? and b) are there any '//' marks in the Description column of the table designer? We have found that this causes problems on importing & exporting as text and put a rule in our documenation procedures that we never put // in this column.
Just a guess...Edward Bloomfield
Lead Consultant
Theta0 -
It seems that it was exactly that, at least one of the bugs..... there also was a local record variable with the same name as a field name, this isn't supposed to cause any problems, but when we changed the name of the field, everything started working perfectly.
So everybody, it seems like we found a bug!
=D>0 -
There is one another bug, but with the // too... if you use somewhere the property ValuesAllowed and you want to allow / character, you need to fill // there (it is range /../ - see on-line help) the import will represent this like comments and the rest of line is not processed... (syntax error)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