更新时间:2023-02-08 11:32:00
找到解决方案...需要在PC上安装计数器,因为我只使用计数器exe然后在程序中调用连接。
Dim con As OdbcConnection
con = New OdbcConnection(" DSN = TallyODBC_9000; PORT = 9000; DRIVER = Tally ODBC驱动程序; SERVER = {(local)}")
Dim dr As OdbcDataReader
Dim cmd As New OdbcCommand(" Select
Solution Found... Need to install tally on PC as I was using only tally exe and then call the connection in program.
Dim con As OdbcConnection
con = New OdbcConnection("DSN=TallyODBC_9000;PORT=9000;DRIVER=Tally ODBC Driver;SERVER={(local)}")
Dim dr As OdbcDataReader
Dim cmd As New OdbcCommand("Select
Name as ename,
Name as ename,
AlteredOn as
changedon,
AlteredOn as
alteredon,