在Access 2000中, 可以利用
dim ac as access.application
Set ac = New Access.Application
ac.OpenCurrentDatabase (DatabaseName)
for i=1 to ac.currentproject.allreports.count
ac.CurrentProject.AllReports(i).Name
next i
取得所有的報表名稱, 但在Access 97中,並無CurrentProject這個方法, 請問是否有人知道, 在Access97中, 要如何撰寫,
謝謝!
dim ac as access.application
Set ac = New Access.Application
ac.OpenCurrentDatabase (DatabaseName)
for i=1 to ac.currentproject.allreports.count
ac.CurrentProject.AllReports(i).Name
next i
取得所有的報表名稱, 但在Access 97中,並無CurrentProject這個方法, 請問是否有人知道, 在Access97中, 要如何撰寫,
謝謝!
全站熱搜
留言列表