Running Dataport Through Coding With out Using Request Form

I have using the following code

DtpTestimport.IMPORT(TRUE);
DtpTestimport.FILENAME(‘Filepath’);
DtpTestimport.RUNMODAL;

But it showing the Request form where i dont want the request fornm and the data has to be imported by using the dataport.

Please help me guys…

Thanks in advance.

Did you try by setting UseReqForm property of dataport to No?

Did you have a look here: DATAPORT.RUNMODAL Function (Dataport)? It’s not that difficult.

Yes, i have set the usereqform to NO

Thank You Mohana.Now it is working.

Thanks Luc.

Welcome