Is This Content Helpful?
We're glad to know this article was helpful.
How can we make this better? Please provide as much detail as possible.
Sample code for removing a document from a project using Avenue
'-- Assumes you have a document called View1 in the project
theView = av.GetProject.FindDoc("View1")
'-- Assumes you have a document called Table1.dbf in the project
theTable = av.GetProject.FindDoc("Table1.dbf")
'-- Assumes you have a document called Layout1 in the project
theLayout = av.GetProject.FindDoc("Layout1")