Guest_imported
New member
- Jan 1, 1970
- 0
We have an Access97-database with some forms running on a windows95-platform and never had any trouble with accessing drives ( local or network ) in the Access-application. Since we switched over to Windows2000 as OS, we always get error "bad file name or number" when we want to view a network drive. This problem does not occur when we go to local harddrives or a local CD-romstation.
This is a piece of the code :
"
Private Sub CmbDriveBron_AfterUpdate()
On Error GoTo Err_CmbDriveBron_AfterUpdate
DirStringBron = Me!CmbDriveBron & ":\"
Me!Text11 = DirStringBron
Me!List4.Requery
Exit_CmbDriveBron_AfterUpdate:
Exit Sub
Err_CmbDriveBron_AfterUpdate:
MsgBox Err.Description
Resume Exit_CmbDriveBron_AfterUpdate
End Sub
"
We see that Access doesn't generate any error and that the system crashed on the "Me!List4.Requery"-command.
Does anybody have an idea what the problem may be ?
This is a piece of the code :
"
Private Sub CmbDriveBron_AfterUpdate()
On Error GoTo Err_CmbDriveBron_AfterUpdate
DirStringBron = Me!CmbDriveBron & ":\"
Me!Text11 = DirStringBron
Me!List4.Requery
Exit_CmbDriveBron_AfterUpdate:
Exit Sub
Err_CmbDriveBron_AfterUpdate:
MsgBox Err.Description
Resume Exit_CmbDriveBron_AfterUpdate
End Sub
"
We see that Access doesn't generate any error and that the system crashed on the "Me!List4.Requery"-command.
Does anybody have an idea what the problem may be ?