P
Phred Bear
I am creating an MSP Project from a P/W Protected Access 2000 db and
populating it in VBA.
I don't seem able to make the DatabasePassWord argument stick.
here is the code:
Header:
pj.MapEdit Name:="Map 6", Create:=True, OverwriteExisting:=True,
DataCategory:=0, CategoryEnabled:=True, TableName:="BarChart",
FieldName:="ID", ExternalFieldName:="ID", ExportFilter:="All Tasks",
ImportMethod:=pjImportAppend, HeaderRow:=True
Meat in the sandwich:
pj .MapEdit Name:="Map 6", DataCategory:=0, FieldName:="Name",
ExternalFieldName:="Ref No"
Several lines of MapEdit, then:
Footer:
pj.FileOpen Name:="C:\Fred.mdb", ReadOnly:=False, Merge:=0,
DatabasePassWord:="ThePassword", map:="Map 6"
It works fine on a non protected db.
Any hints?
populating it in VBA.
I don't seem able to make the DatabasePassWord argument stick.
here is the code:
Header:
pj.MapEdit Name:="Map 6", Create:=True, OverwriteExisting:=True,
DataCategory:=0, CategoryEnabled:=True, TableName:="BarChart",
FieldName:="ID", ExternalFieldName:="ID", ExportFilter:="All Tasks",
ImportMethod:=pjImportAppend, HeaderRow:=True
Meat in the sandwich:
pj .MapEdit Name:="Map 6", DataCategory:=0, FieldName:="Name",
ExternalFieldName:="Ref No"
Several lines of MapEdit, then:
Footer:
pj.FileOpen Name:="C:\Fred.mdb", ReadOnly:=False, Merge:=0,
DatabasePassWord:="ThePassword", map:="Map 6"
It works fine on a non protected db.
Any hints?