keeblerjp123
Nov 22 2004, 09:06 AM
Ok, I already have an event procedure in my On Open Event, That states this
Private Sub txtPassword_AfterUpdate()
On Error Resume Next
Call cmdOK_Click
End Sub
I need to add another expression:
=fSetAccessWindow (0)
To be there as well, Anysuggestions
quest4
Nov 22 2004, 09:38 AM
I have two and three different procedures in the same event. Just add it either before or after. hth.
keeblerjp123
Nov 22 2004, 10:20 AM
Ok, How do you do the difference detween, Code and Expressions.
Private Sub txtPassword_AfterUpdate()
On Error Resume Next
=fSetAccessWindow (0)
Call cmdOK_Click
End Sub
Because thats not going to work.
quest4
Nov 22 2004, 11:01 AM
Try:
Me!ObjectName=fSetAccessWindow (0)
Call cmdOK_Click
hth
keeblerjp123
Nov 22 2004, 11:18 AM
What do i use if i want to call on the form.
Me!ObjectName=fSetAccessWindow (0)
this is for a form, it wants to call attention to a field.
Thanks JP
quest4
Nov 22 2004, 11:38 AM
Not trying to figure out what you are doing. Do you need to have your Call procedure to run first or second? The more I look at what I have been given, the more I think it should be first, but I don't know what all is being done. It almost sounds like you want to runthe call stuff and then open a form ands set it to something, is that what you are trying to do? hth.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.