Import / export variable in dataport

vanrofivanrofi Member Posts: 272
Is there a way to play with the import/export option, beside the normal general property Import = yes?
I want to allow import on certain rules in the database. Therefor I create some code onPreDataport and then want to put the property on true or false depending the outcome.

Thx in advance!

Comments

  • helmhelm Member Posts: 46
    CurrDataport.IMPORT(TRUE/FALSE) on the OnPreDataport trigger
  • vanrofivanrofi Member Posts: 272
    Thx, but tried that before posting, it doesn't work...it keeps giving me both options in the requestform, even if I say : CurrDataport.IMPORT(false);

    Any idea?
  • DenSterDenSter Member Posts: 8,304
    When you put a custom control on the request form, the standard controls disappear. There's a how-to on how to create the file dialog control in here somewhere. If you put that on there, you will not have the import/export radiobuttons.
Sign In or Register to comment.