-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > Automation and VBA > Error deleting dataset > Reply To: Error deleting dataset
January 13, 2004 at 9:43 pm
#12442
![norbert.bakkers@lr.org](https://www.weisang.com/wp-content/uploads/2016/09/default_avatar.jpg)
Participant
In an automation loop I want to delete some redundant datasets. The programme crashes every time at one dataset. That dataset icon looks like it is dashed and I can not delete it (not even manually).
The error is: “Method ‘Delete’ of object ‘IDataSet’ failed
The code used is:
If ActiveDatabase.ActiveFolder.ObjectExists(GroupName & “Count” & FreqName) Then
ActiveDatabase.ActiveFolder.Object(GroupName & “Count” & FreqName).Delete
End If
What could cause this error ?