Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

DotNetSQLDataReader.Read error

$
0
0
I have written code to copy the data from SQL to Nav 2017.

I am getting the error. Will you please help me
========================
WHILE DotNetSQLDataReader.Read DO BEGIN
DotNetSQLDataReader.GetSchemaTable;

TmpBufferTimeSheet."Staff Id":=DotNetSQLDataReader.GetString(0);
TmpBufferTimeSheet."Entry Date" :=DT2DATE(DotNetSQLDataReader.GetDateTime(2));
TmpBufferTimeSheet."Starting Time" :=DotNetSQLDataReader.GetDateTime(2);
TmpBufferTimeSheet."Ending Time" :=DotNetSQLDataReader.GetDateTime(3);
TmpBufferTimeSheet."Actual Work Hours" :=DotNetSQLDataReader.GetDecimal(4);

//TmpBufferTimeSheet.INSERT;
END;
=====================187egg22vuu2.jpg
==

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>