Hi,
is there a way to script deleting a parent database without deleting child database. When I do this manually it comes up with the option: would you like to delete child database? Is there a way to script this? (havening been able to find anything)
thanks for your time,
Mike
mikew
Offline
Last seen: 7 months 6 days ago
Joined: 09/25/2019 - 08:25
In the script just use:
Client.DeleteDatabase "Sample-DBASE.IMD"
It only deletes that database, it doesn't delete the child databases. If you want those deleted you would have to have a DeleteDatabase line for each database you want to delete.
thanks Brian, apologies for the simple question. Wanted to make sure there wasnt a separate function for this.
All questions are good and welcome, hopefully I can answer some of them.