Skip to main content

Search

Search

Changing Sql Statement

Comments

2 comments

  • Avatar
    Shotaro Ito
    Hi SarahL,
    Try this way..
    [code]
    Seagull.BarTender.Print.Database.OLEDB btdb = new Seagull.BarTender.Print.Database.OLEDB(btFormat.DatabaseConnections[0].Name);
    btdb.SQLStatement = "SELECT `Model`, `Year` FROM `Sheet1$`";
    btFormat.DatabaseConnections.SetDatabaseConnection(btdb);
    [/code]
    0
  • Avatar
    Legacy Poster
    Thank you
    0

Please sign in to leave a comment.