Hi Experts!
Can any one help me in display error message in dataport, while importing data , if a field is blank.
I am unable to print in which line the problem is.
My code as follows:
IF RegStore <> '' THEN
VALIDATE("Registering Store",RegStore);
ERROR(Text000,RegStore);
IF NOT INSERT(TRUE) THEN MODIFY(TRUE);
is it possible in message I can show the error details in dataport - ?
Thanks for help in advance!
Anil Kumar Korada
Technical Consultant
0
Comments
If it is I put a counter (integer of lines) after each record and put beside the RegStore with format to show the Error. As you know if the input parameter is blank the Error message do not show anything just stop the process.
Basically you create a variable(s) that HOLDS the data to be imported.
Say that's what "RegStore" is.
OnBeforeImportRecord()
OnAfterImportRecord()
http://www.BiloBeauty.com
http://www.autismspeaks.org