Navision developper
Comments
-
THANKS, it works, but when my files are moved, and in the next repeat loop processing
navision displays a exeption: the file "file name" already exists..
is what I can add a control on the existence of the file before the transfer??
is what I can add a control to verify the existence of the file, if there is no file transfer, the program stops, it's possible??0 -
Why dont you read some basic navision technical documents..
what project you have done so far and what you have learnt?
this forum is not a training institute or we are not partners to you..0 -
Hi
You can use EXIST function to know if a file exists.
Maybe you can change a little the code changing destiny forlder file name.TFile.RESET; TFile.SETRANGE(Path,'c:\Origen'); TFile.SETRANGE("Is a file",TRUE); IF TFile.FIND('-') THEN REPEAT DestinyPath:='c:\Destiny\'+DELCHR(Format(TODAY),'=','/')+'-'+DELCHR(Format(TIME),'=',':')+'-'+TFile.Name; COPY(TFile.Path+'\'+TFile.Name,DestinyPath); ERASE(TFile.Path+'\'+TFile.Name); UNTIL TFile.NEXT=0;
Bye0 -
@ saalek,
thanks for your help..
@ Mr Mohana
I read a lot of paper on navision, but there are a few tips on the files I connet not, in addition, the forum has emissions improve the level of each user and to ask questions, thank you for your help, but if you're not a interrese help others, you're free0 -
houssayen wrote:if you're not a interrese help others, you're free
If you start asking all questions, you dont get chance to explore navision and learn..0 -
worry, I will not take information without assimilating them, and understand what it sagit, thank you.0
-
hi,
I have a small question about navision, I have a codeunit that can detect the presence on a text file in a directory, if I add a new file, it does not detect except that if I restart Navision.
my question is: I can improve this codeunit so that it can detect adding the new later file without reboot navision?
thanks..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