Ron Wilson
Registered User.
- Local time
- Today, 16:19
- Joined
- Feb 12, 2008
- Messages
- 11
Hi,
I have a couple of problems. Firstly, when I load a form, the first field (primary key) has a 0 in it. I would like to just have the field empty and have the tab order set to default on this field on load.
Secondly, I have a calendar on my form, which populates a text box:
Private Sub Calendar1_DateSelected(Code As Integer)
Text57.Text = e.Start.ToShortDateString()
End Sub
However, I need to click on a text field to see the text box being populated with the date. How can I have it so that as soon as I click on the date on the calendar, the textbox is populated? Thanks....
I have a couple of problems. Firstly, when I load a form, the first field (primary key) has a 0 in it. I would like to just have the field empty and have the tab order set to default on this field on load.
Secondly, I have a calendar on my form, which populates a text box:
Private Sub Calendar1_DateSelected(Code As Integer)
Text57.Text = e.Start.ToShortDateString()
End Sub
However, I need to click on a text field to see the text box being populated with the date. How can I have it so that as soon as I click on the date on the calendar, the textbox is populated? Thanks....