Saltar al contenido principal

Validating a summary of document lines before adding

Comentarios

2 comentarios

  • Geoff Booth

    Just some thoughts:

    • Create a multi-step macro to :
    • Use a while loop (battleshipcobra.com/youtube-download/while_loop_example.txt ) to write the Item Group and Line Value to a temp table
    • Build a query against the temp table such as yours above
    • Launch a UF type MessageBox to block the add if the query returns any values
  • Julian Biggin

    Thanks for the suggestion Geoff!

    In the end I had looked further at the possibility of using a line loop and decided I may as well write this via C# to get the result I needed as this was probably easier to read/adapt in future.

Iniciar sesión para dejar un comentario.