(1) The easiest way to do this, to my mind, would be to use calculated fields in a query, then base your form on the query. This is always the preferred method, rather than basing the form directly on the table. If you've already done this, skip to Step # 3.
(2) If you haven't already done this, simply use the query wizard and include all fields from the table. Now go into Design View for your form and change the RecordSource from your table to your query.
(3) Go into Design View for your new query. In a blank "Field" box enter:
- dlcfrom: Left([YourCombinedDatesField],instr([YourCombinedDatesField], " ")-1)
(4) Repeat this with a new blank field and enter:
- dlcto: Right([YourCombinedDatesField],InstrRev([YourCombinedDatesField], " ")-3)
(5) Now on your form or in reports you can simple refer to these two fields as if they actually existed in your table.
For you appearance on you form you could use something like:
- Me.DisplayDates = "From: " & Me.dlcfrom & : To: " & dlcto
Note that in this method the only requirements is that the original field has at least one space after the first "date" and at least one space before the second "date."
Linq
;0)>