Skip to main content

Search

Search

Textfiledatabase Does Not Exist

Comments

1 comment

  • Avatar
    Legacy Poster

    I managed to solve my own problem.

     

    Maybe this example can act as a tutorial. The lines I needed were:

     

            Dim txtFile = New TextFile(btFormat.DatabaseConnections(0).Name)
            txtFile.FileName = "P:\BarTender\Templates\Test2.csv"
            btFormat.DatabaseConnections.SetDatabaseConnection(txtFile)
    

    Instead of:

          txtFile.FileName = "P:\BarTender\Templates\Test.csv"
          btFormat.DatabaseConnections.SetDatabaseConnection(txtFile)
    

     

    Thanks for the support anyways!

    0

Please sign in to leave a comment.