Automated Process

sabzamsabzam Member Posts: 1,149
Dear All,

I have got a dataport which is importing data into a table. On inserting data a confirmation message is released which request the user to press a yes or a no. Is it possible to enforce a no answer in such a case without actually modifying the OnValidate code?

Comments

  • ufukufuk Member Posts: 514
    If user has only No option to press, why do you display a confirm dialog?
    Ufuk Asci
    Pargesoft
  • sabzamsabzam Member Posts: 1,149
    A user will have bot a yes and a no option but in this case when running this function automatically it will always be a no answer.
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    sabzam wrote:
    Is it possible to enforce a no answer in such a case without actually modifying the OnValidate code?
    You'll need to modify the object containing the CONFIRM-statement. This needs to be made conditional, so the CONFIRM is only executed when not run automatically.

    You can't do it, without changing code.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • sabzamsabzam Member Posts: 1,149
    Thanks Luc; you've been really helpful
  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'NAV Three Tier' forum to 'NAV/Navision Classic Client' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.