Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

I have a pop up calendar but need to manually enter as well

Avatar of get-ADuser -F ($_.Name -eq "Todd")
get-ADuser -F ($_.Name -eq "Todd")Flag for United States of America asked on
Microsoft Access
13 Comments1 Solution275 ViewsLast Modified:
I made activex calendar control that assigns into some text boxes and it work great.  The deal is some users like to enter the txtboxes manually.  Is there a way to do this with the code I have here.  Right now I have a variable that passes back and forth.

Option Compare Database
Option Explicit
Dim txtOriginator As TextBox

Private Sub BegDate_Click()
Set txtOriginator = BegDate
Me.Calendar6.Visible = True
Me.Calendar6.SetFocus
If Not IsNull(txtOriginator) Then
   Calendar6.Value = txtOriginator.Value
Else
   Calendar6.Value = Date
End If
End Sub

Private Sub Calendar6_Click()
txtOriginator.Value = Calendar6.Value
txtOriginator.SetFocus
Calendar6.Visible = False
Set txtOriginator = Nothing

End Sub


Private Sub EndDate_Click()
Set txtOriginator = EndDate
Me.Calendar6.Visible = True
Me.Calendar6.SetFocus
If Not IsNull(txtOriginator) Then
   Calendar6.Value = txtOriginator.Value
Else
   Calendar6.Value = Date
End If
End Sub


Thanks in advance

Net
ASKER CERTIFIED SOLUTION
Avatar of jefftwilley
Commented:
This problem has been solved!
Unlock 1 Answer and 13 Comments.
See Answers