I have made a codeunit with som calling of dataports on it. And when i close and compile it it displays me a form Error list with warnings.
Attached is one picture.
This codeunit i am going to call with Job Queue, and to make a schedule. Or to execute this codeunit via NAS.
For this to cases does this warnings are going to make error.
From this codeunit i have to call 3 dataports, that are going to extract data from NAV to some shared folders.
Can you suggest me another method of calling this dataports, or mabye using report, but report displays first the form than you can said OK to execute report.
the answer is in mark brummel's post...
nas is 2 tier, and the warning you see are only valid if you are working on 3 tier...thus, you won't have any problem
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
Answers
If your code runs on the 2-tier stack you can ignore the warnings.
For this to cases does this warnings are going to make error.
From this codeunit i have to call 3 dataports, that are going to extract data from NAV to some shared folders.
Can you suggest me another method of calling this dataports, or mabye using report, but report displays first the form than you can said OK to execute report.
Thanks for your answer
nas is 2 tier, and the warning you see are only valid if you are working on 3 tier...thus, you won't have any problem
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Although the NAS is 2-tier it does not support the use of Dataports.
If you want to read/write to files from the NAS you need to use file variables.
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog