I have a Date field in my form that uses a date picker. I would like to have whatever is selected in that date picker field to automatically calculate the Julian date and put that in a field in the same form. How would I go about doing that?
I've tried setting the Control Source of the Julian Date field to =[thetable]![DateField], but I can't find where to format the JulianDate field.
For formatting I've seen a couple of options listed:
Code:JulianDate = date - DateSerial(Year(date), 1, 1) + 1Code:=CDate2Julian()Code:CLng(Format(Date, "y"))