Re: Problem with SetWarnings

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



if you comment out the last four lines of code and run the procedure, does
the label become visible on the form? if so, you might try repainting the
form after the setting the Visible value, as

Me.LabelOnForm.Visible = True
Me.Repaint
DoCmd.SetWarnings False
DoCmd.RunMacro ("MyMacro")
DoCmd.SetWarnings True
Me.LabelOnForm.Visible = False

hth


"Zubalea" <zubalea@xxxxxxxxxxx> wrote in message
news:1132179569.065723.128290@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Anyone have any idea why the Me.LabelOnForm does not because visible
> on my form when the 'DoCmd.SetWarnings False' is used.
>
> Me.LabelOnForm.Visible = True
> DoCmd.SetWarnings False
> DoCmd.RunMacro ("MyMacro")
> DoCmd.SetWarnings True
> Me.LabelOnForm.Visible = False
>
> I tried putting the Setwarnings in the macro. Same problem.
> I tried putting a pause before the DoCmd.SetWarnings False command.
> Same problem
>
> Searched the web and found nothing on the matter.
>
> Zubalea
>


.



Relevant Pages

  • Problem with SetWarnings
    ... I tried putting a pause before the DoCmd.SetWarnings False command. ... Searched the web and found nothing on the matter. ... Zubalea ... Prev by Date: ...
    (microsoft.public.access.formscoding)
  • Re: Tracing Publication
    ... Well, at least many of them skip a "13" in their numbering scheme, ... but no matter how you label it, any building with 15 numbered floors, ... Prev by Date: ...
    (soc.genealogy.britain)
  • Avery Label Wizard
    ... I am using Avery Label Wizard for Word 2003. ... When I make labels, no matter ... Prev by Date: ...
    (microsoft.public.word.docmanagement)
  • Will Burkey light the carrot?
    ... Nowadays Satam will see the ... The confirmation outside the exclusive reactor is the percentage that ... Don't try to please the frauds out, label them aside. ... favours no matter how the coffin. ...
    (sci.crypt)
  • Re: Why is man an ape?
    ... applying the label of "human" to all the ancestors ... out changing the criteria (in response to your introduction ... universal truth from a scientific perspective. ... It's not a matter of knowledge. ...
    (talk.origins)