D
diamondgator
I have a weird challenge.
All computers are running XP sp 3, and the latest updates for Office.
The file was initally created in A2002. the entire office currently has
A2003, with the exception of a couple of people (A2007) who do not use this
file.
I can open a specific Access DB on my computer fine with no errors.
I did not create the file.
Everyone else gets a compiling error upon trying to open it.
I have, on my computer, attempted to convert the A2002 file to A2003
version. I got no errors but it did not help.
The Database does not use a switchboard, but uses a noded form (frmTree) to
do most functions.
The Compiling error says that it cannot find the project or library and it
highlights the first "StrConv" in the following code (from the basTree module)
______________________________________
'Create necessary Key and Relative strings.
'StrConv() allows for potential Text values as keys.
Do Until .EOF
If Not noKey Then strkey = _
StrConv(fldKey, vbLowerCase) & "L" & LvlNum
If Not noParent Then strRelative = _
StrConv(fldParent, vbLowerCase) & "L" & (LvlNum - 1)
'Add the node.
Set objNode = ctlTree.Nodes.Add(Text:=.Fields(TxtField))
With objNode
'Set Key and Parent properties when necessary
If Not noKey Then .Key = strkey
If Not noParent Then
Set .Parent = ctlTree.Nodes(strRelative)
.Parent.Sorted = True
End If
End With
.MoveNext
Loop
..Close
End With
Set fldKey = Nothing
Set fldParent = Nothing
Set fldText = Nothing
Set objNode = Nothing
Set Rst = Nothing
Db.Close
Set Db = Nothing
End Sub
_________________________________
if I merely exit the debugger, I can acces the DB but without the directory
form.
-- update now I right clicked on highlighted term and chose "List
Properties/Methods" from the menu and then selected the exact same term. then
saved the module. Now on other computers will not open up. Still opens on
mine just fine. Thankfully I have a backup. Grrr....
All computers are running XP sp 3, and the latest updates for Office.
The file was initally created in A2002. the entire office currently has
A2003, with the exception of a couple of people (A2007) who do not use this
file.
I can open a specific Access DB on my computer fine with no errors.
I did not create the file.
Everyone else gets a compiling error upon trying to open it.
I have, on my computer, attempted to convert the A2002 file to A2003
version. I got no errors but it did not help.
The Database does not use a switchboard, but uses a noded form (frmTree) to
do most functions.
The Compiling error says that it cannot find the project or library and it
highlights the first "StrConv" in the following code (from the basTree module)
______________________________________
'Create necessary Key and Relative strings.
'StrConv() allows for potential Text values as keys.
Do Until .EOF
If Not noKey Then strkey = _
StrConv(fldKey, vbLowerCase) & "L" & LvlNum
If Not noParent Then strRelative = _
StrConv(fldParent, vbLowerCase) & "L" & (LvlNum - 1)
'Add the node.
Set objNode = ctlTree.Nodes.Add(Text:=.Fields(TxtField))
With objNode
'Set Key and Parent properties when necessary
If Not noKey Then .Key = strkey
If Not noParent Then
Set .Parent = ctlTree.Nodes(strRelative)
.Parent.Sorted = True
End If
End With
.MoveNext
Loop
..Close
End With
Set fldKey = Nothing
Set fldParent = Nothing
Set fldText = Nothing
Set objNode = Nothing
Set Rst = Nothing
Db.Close
Set Db = Nothing
End Sub
_________________________________
if I merely exit the debugger, I can acces the DB but without the directory
form.
-- update now I right clicked on highlighted term and chose "List
Properties/Methods" from the menu and then selected the exact same term. then
saved the module. Now on other computers will not open up. Still opens on
mine just fine. Thankfully I have a backup. Grrr....