REM ******************************************************
REM MDB 作成
REM ******************************************************
Function CreateMdb( strPath )
CreateMdb = True
GetAdox
on error resume next
Adox.Create "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & strPath & ";"
if Err.Number <> 0 then
CreateMdb = False
ErrorMessage = Err.Description
end if
on error goto 0
End Function
|