P
paddyIE
I have custom toolbars that won't display in " Report Preview" when I set the
Report properties option to the toolbar name. But if I call a Proceedure that
has the following:
Dim i As Integer
For i = 1 To CommandBars.Count
If CommandBars(i).Name = "PreviewMnu" Then
CommandBars(i).Enabled = True
CommandBars(i).Visible = True
Exit Sub
End If
Next i
it works fine.
If I use the DoCmd.ShowToolBar action in the proceedure it also will NOT
display!
I have "allow" in my startup options! I figure I could use the "DoCmd" in
the Report Open, but I was wondering why the "properties" setting is not
working.
BTW, using the "properties" feature in Forms works just fine.
Any ideas?
Report properties option to the toolbar name. But if I call a Proceedure that
has the following:
Dim i As Integer
For i = 1 To CommandBars.Count
If CommandBars(i).Name = "PreviewMnu" Then
CommandBars(i).Enabled = True
CommandBars(i).Visible = True
Exit Sub
End If
Next i
it works fine.
If I use the DoCmd.ShowToolBar action in the proceedure it also will NOT
display!
I have "allow" in my startup options! I figure I could use the "DoCmd" in
the Report Open, but I was wondering why the "properties" setting is not
working.
BTW, using the "properties" feature in Forms works just fine.
Any ideas?