mibuso.com

Microsoft Business Solutions online community
It is currently Sun May 26, 2013 12:00 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: File Length in NAV RTC XMLPort
PostPosted: Wed Aug 15, 2012 4:52 pm 
Offline

Joined: Wed Dec 12, 2007 12:18 pm
Posts: 84
Location: Cochin
Country: India (in)
Hi,
I am using an XMLport and i tried to import a flat file data into NAV tables.
I have a requirement to find the Length of the file which i am importing.
I wrote the following code

Global Variables :-
TextFile [ File]
FileLength [Integer]


TextFile.OPEN(currXMLport.FILENAME);
FileLength := TextFile.LEN;
TextFile.CLOSE;

I am getting the error "The Specified Path is Invalid"

How to solve this.

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: File Length in NAV RTC XMLPort
PostPosted: Wed Aug 15, 2012 6:06 pm 
Offline

Joined: Mon Apr 04, 2005 3:49 pm
Posts: 72
Location: Sauðárkrókur
Country: Iceland (is)
If you look at my post at dynamics.is (http://www.dynamics.is/?p=632) you can see how to do this.

_________________
________________________________
Gunnar Gestsson
Microsoft Certified IT Professional
http://www.dynamics.is


Top
 Profile E-mail WWW  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: