A
AJC
Howdy,
I am trying to programmatically rename MS-Access forms. I've tried the
below:
With dbsCurr.Containers!Forms
For Each docLoop In .Documents
If docLoop.Name = "frmChangeProject" Then
docLoop.Name = "frmChangeProject_Old"
End If
Next docLoop
End With
dbsCurr.Containers.Refresh
Comes back with:
Compile error:
Can't assign to read-only property
Anyone got a method for doing this what would see a straight forward task!
Cheers
Andy
I am trying to programmatically rename MS-Access forms. I've tried the
below:
With dbsCurr.Containers!Forms
For Each docLoop In .Documents
If docLoop.Name = "frmChangeProject" Then
docLoop.Name = "frmChangeProject_Old"
End If
Next docLoop
End With
dbsCurr.Containers.Refresh
Comes back with:
Compile error:
Can't assign to read-only property
Anyone got a method for doing this what would see a straight forward task!
Cheers
Andy