Hello all,
I'm having trouble assigning a textbox a value that is calculated in vb.
I have little experience in vb, so I'm probably missing something fairly simple.
Code:Private Sub Form1_Load() Dim Week As Date Week = DCount("Field1", "Table1", "[Field1] Between #1/1/2014# And #1/8/2014#") Me.Text2.Value = Week End Sub