Issue with Request form on dataport

tgupta
Member Posts: 86
Hi Guys ,
I am stuck on a very simple problem
I have made a request form on dataport .Now when u make request form the default option of import filename does not come .So for that i took a text variable of filename and i am writing this code on the the OnPreDataport but still it does not show the lookup for selecting the file.Plss guide where i am getting wrong .
Dataport - OnPreDataport()
CurrDataport.FILENAME(ImportFile);
CurrDataport.IMPORT(TRUE);
Cheers ,
Tarun
I am stuck on a very simple problem
I have made a request form on dataport .Now when u make request form the default option of import filename does not come .So for that i took a text variable of filename and i am writing this code on the the OnPreDataport but still it does not show the lookup for selecting the file.Plss guide where i am getting wrong .
Dataport - OnPreDataport()
CurrDataport.FILENAME(ImportFile);
CurrDataport.IMPORT(TRUE);
Cheers ,
Tarun
0
Comments
-
0
-
Hi Fb,
Thanx a lot it worked but still wondering why it works with ID 1 . Whats the logic behind .I think something related with OCX
Cheers,
Tarun0 -
There's no logic, that was just the ID of the control when Navision created the standard request form.0
-
This goes back to Avista. In Avista (the Navision character product - which by the way may have been the finest character product ever put together by anybody, says I) the control id was set in increments of 1.
So the rule was that if the first thing that you put on the request panel was the filename, you'd get the special functionality of the browser. These days, it's probably written down somewhere, but for most folks, it's just tribal knowledge.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