Ashfaque
Search Beautiful Girls from your town for night
- Local time
- Today, 17:23
- Joined
- Sep 6, 2004
- Messages
- 897
Hi,
Is there any specific reason that below is not woring in On Current event of a form?
Basically I want few buttons to disable if the name in TxtRectEnable text box is not = SSNP.
This SSNP name is coming from a login form called "FrmLogIn" upon closing. I mean the name is being copied to F_Main form where the below code is written.
And when I see the name in appearing in TxtRectEnable text box on F_Main form but below code is not working. When I trapped using F8 keys the
TxtRectEnable text box is null becasue till that movement form dont open. But when it opens I see the user name TxtRectEnable text box
Private Sub Form_Current()
Me.Refresh
If TxtRectEnable = "SSNP" Then
Me.CmdRectNew.Enabled = True
Else
Me.CmdRectNew.Enabled = False
End If
End Sub
Please this looks funny to me.....
Any thought...
Regards,
Ashfaque
Is there any specific reason that below is not woring in On Current event of a form?
Basically I want few buttons to disable if the name in TxtRectEnable text box is not = SSNP.
This SSNP name is coming from a login form called "FrmLogIn" upon closing. I mean the name is being copied to F_Main form where the below code is written.
And when I see the name in appearing in TxtRectEnable text box on F_Main form but below code is not working. When I trapped using F8 keys the
TxtRectEnable text box is null becasue till that movement form dont open. But when it opens I see the user name TxtRectEnable text box
Private Sub Form_Current()
Me.Refresh
If TxtRectEnable = "SSNP" Then
Me.CmdRectNew.Enabled = True
Else
Me.CmdRectNew.Enabled = False
End If
End Sub
Please this looks funny to me.....
Any thought...
Regards,
Ashfaque