Hello Team,
We have a requirement to insert data into table. Our data is in format as below
XYZ 123 Senthil Tamil Nadu India
Yadav
We have to insert record Senthil Yadav same as shown in the above example in a memo field (DocuRef table--> Notes Field) and we have written the code as below:
if (fName)
{
file = new TextIo(fName, 'r');
if (file.status())
{
throw error("@SYS52680");
}
file.inRecordDelimiter('\r\n');
file.inFieldDelimiter ('\t');
}
the logic we applied was for \n as new line but we need to change it for accepting the record Senthil Yadav. Can anyone please let us know how we can implement this in X++ Code.
Thank You.