Connect出现的问题 以下代码运行到"tdf.Connect = strcon"出现"无效的操作"(3219) 请各位前辈指点,谢谢 Dim dbs As Database Dim tdf As TableDef Dim strcon As String Dim ii As Integer Set dbs = OpenDatabase(TablePath, False, False, ";PWD=" & TablePassword) Set tdf = dbs.TableDefs(dtblname) strcon = ";DATABASE=" & TablePath If Len(TablePassword) > 0 Then strcon = strcon & "; PWD=" & TablePassword tdf.Connect = strcon |
|站长邮箱|小黑屋|手机版|Office中国/Access中国
( 粤ICP备10043721号-1 )
GMT+8, 2025-4-4 18:38 , Processed in 0.069818 second(s), 17 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.