G
Guest
Dear all,
I program VBA Macros for forms in MS Access for adapting the forms to my
needs and for setting special filters by searching with DAO through the
tables extracting data as I need or counting specific items.
The VBA macros I access through Event Procedures like On Click or On Enter,
etc.
In the last time I experience more frequently the following Error Message:
"Microsoft Visual Basic"
"Error accessing file. Network connectivity may have been lost".
In this case the form becomes useless because I do not know how to repair
the fault. I'm not connected to a network. The entire Access file is on my
hard disk with all tables, forms and macros.
When T run
Tools>Database Utilities>Compact and Repair Database
nothing changes. The message stays.
My only way to overcome the fault is to develop the form again from the
scratch and program all macros again.
But even in this case I'm not sure that the fault does not repeat after a
while.
What shall I do?
I run MSAccess2000 with Windows2000 (office) and MSAccess2000 with WindowsXP
Home Edition in ann Office2000 environment.
By the way, when I open the Visual Basic Editor I can see and edit all
macros. Nothing is lost. Only the form does not find the link.
Is there somebody with a smart idea how to eliminate the fault permanently?
With regards
Sieg
--
I program VBA Macros for forms in MS Access for adapting the forms to my
needs and for setting special filters by searching with DAO through the
tables extracting data as I need or counting specific items.
The VBA macros I access through Event Procedures like On Click or On Enter,
etc.
In the last time I experience more frequently the following Error Message:
"Microsoft Visual Basic"
"Error accessing file. Network connectivity may have been lost".
In this case the form becomes useless because I do not know how to repair
the fault. I'm not connected to a network. The entire Access file is on my
hard disk with all tables, forms and macros.
When T run
Tools>Database Utilities>Compact and Repair Database
nothing changes. The message stays.
My only way to overcome the fault is to develop the form again from the
scratch and program all macros again.
But even in this case I'm not sure that the fault does not repeat after a
while.
What shall I do?
I run MSAccess2000 with Windows2000 (office) and MSAccess2000 with WindowsXP
Home Edition in ann Office2000 environment.
By the way, when I open the Visual Basic Editor I can see and edit all
macros. Nothing is lost. Only the form does not find the link.
Is there somebody with a smart idea how to eliminate the fault permanently?
With regards
Sieg
--