Setting default value to the columns in dataport

AmaraaAmaraa Member Posts: 153
Hello,

What I'm trying to do is this to run a dataport from form and some fields of the data importing through dataport will be dafaulted from the form.

Those fields that want to go to the dataport is not in any table.

Sorry for the such questions, but, please help!

Thank you,
Amaraa

Comments

  • matttraxmatttrax Member Posts: 2,309
    I'd imagine it would work similar to a Report or Codeunit. Declare a function in the dataport, initialize the variables you need populated, then call the dataport from your form. You'll have to declare a dataport variable so that both lines (the init and the run) refer to the same instance of the dataport.
Sign In or Register to comment.