pls have a look at the code below....
Private Sub Command1_Click()
On Error GoTo errtrap
For i = 0 To 2
Err.Raise 2000, "Src", "Error " & i
l1:
MsgBox i
Next i
Exit Sub
errtrap:
Err.Clear
GoTo l1
End Sub
the process requiremnt is that whenever a error...
i think u will have to look for some active section kind of stuff....i have searched the BO api but couldn't find any thing like that...probably u will have to write a Macro using the Visual basic Editor Tools-->Macro....
bobj---> BO object
Public bobj As New busobj.Application
Set Bodoc = bobj.Documents.Open(/* provide the required parameters */)
then
Bodoc.DocumentVariables.(count/name/etc etc)
...u get all the information about the document variables.
hope it helps
krish
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.