M
Mark A. Sam
Hello,
I placed this code in the OnLoad event of a form:
If OpenArgs = "Products" Then 'Open to Pruducts tab if this is open from
Freight Reconciliation
[Products].SetFocus
ElseIf OpenArgs = "TaskScheduler" Then 'Hide nagivation/find controls since
record is filtered
[FindOrder].Visible = False
[Box17].Visible = False
[Firstrec].Visible = False
[Prevrec].Visible = False
[Nextrec].Visible = False
[Lastrec].Visible = False
End If
The Openargs is set to "TaskScheduler" I want those particular controls
invisible on the form. This happens to all of the controls except
{FindOrder], which is an unbound combobox. When I step through the code,
[FindOrder] maintains its visible = true property. I have seen this happen
before.
This is Access 2002 running on WinXP.
Thanks for any help.
God Bless,
Mark A. Sam
I placed this code in the OnLoad event of a form:
If OpenArgs = "Products" Then 'Open to Pruducts tab if this is open from
Freight Reconciliation
[Products].SetFocus
ElseIf OpenArgs = "TaskScheduler" Then 'Hide nagivation/find controls since
record is filtered
[FindOrder].Visible = False
[Box17].Visible = False
[Firstrec].Visible = False
[Prevrec].Visible = False
[Nextrec].Visible = False
[Lastrec].Visible = False
End If
The Openargs is set to "TaskScheduler" I want those particular controls
invisible on the form. This happens to all of the controls except
{FindOrder], which is an unbound combobox. When I step through the code,
[FindOrder] maintains its visible = true property. I have seen this happen
before.
This is Access 2002 running on WinXP.
Thanks for any help.
God Bless,
Mark A. Sam