D
DS
I have a form I open as hidden. After I pass through some scenarios the
form is suppose to show up but it doesn't. The form it is behind is
Modal and popup. Whenever I open the form straight away everything
works fine. my guess is that its the form that its behind the pop up
modal one, Is there anyway to get this for to show up?
I'm using a listcount on the form as well. Heres the code.
Private Sub Command57_Click()
If IsNull(Me.Text100) Then
DoCmd.OpenForm "MustSelectItem"
Else
DoCmd.OpenForm "SalesMods", acNormal,,,,acHidden
Forms!SalesMods!Text18 = Forms!SalesMods!ListModCat.ListCount
If Forms!SalesMods!Text18 = 0 Then
DoCmd.Close acForm, "SalesMods"
DoCmd.OpenForm "NoMods"
ElseIf Forms!SalesMods!Text18 > 1 Then
Forms!Buttons!List213.Visible = False
Forms!Buttons!List215.Visible = False
Forms!SalesMods.Visible = True
End If
End If
End Sub
Thanks
DS
form is suppose to show up but it doesn't. The form it is behind is
Modal and popup. Whenever I open the form straight away everything
works fine. my guess is that its the form that its behind the pop up
modal one, Is there anyway to get this for to show up?
I'm using a listcount on the form as well. Heres the code.
Private Sub Command57_Click()
If IsNull(Me.Text100) Then
DoCmd.OpenForm "MustSelectItem"
Else
DoCmd.OpenForm "SalesMods", acNormal,,,,acHidden
Forms!SalesMods!Text18 = Forms!SalesMods!ListModCat.ListCount
If Forms!SalesMods!Text18 = 0 Then
DoCmd.Close acForm, "SalesMods"
DoCmd.OpenForm "NoMods"
ElseIf Forms!SalesMods!Text18 > 1 Then
Forms!Buttons!List213.Visible = False
Forms!Buttons!List215.Visible = False
Forms!SalesMods.Visible = True
End If
End If
End Sub
Thanks
DS