On 1 Apr, 05:31, Ernst Guckel <ErnstGuc...@discussions.microsoft.com>
wrote:
> Hello,
>
[quoted text clipped - 9 lines]
> Any Ideas?
> Ernst.
If you have buttons that change the sources of controls/forms/reports
then you more than likely will need to refresh them first which may be
happening when you minimize etc. Why not add in the following line to
your code to refresh it:
DoCmd.Requery
Regards
Ernst Guckel - 01 Apr 2008 19:27 GMT
Ok... I have added a requery to each button but nothing... Here is what
happens when I click on a commandbutton on frmStartup:
Me.lblHeader.Caption = STR_INV
sForm = FORM_BYDATE
cldMain.SourceObject = FORM_BYDATE
'Hide buttons not for Inventory
HideEmp
HideSales
'Show Inventory buttons
ShowInv
Application.SetOption "Move After Enter", 2
DoCmd.Requery
??? Still confused a bit...
Ernst.
> On 1 Apr, 05:31, Ernst Guckel <ErnstGuc...@discussions.microsoft.com>
> wrote:
[quoted text clipped - 19 lines]
>
> Regards