ToolBars Won't

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top