Hi
I am trying to create a query which it record dates and reason from textbox.
From
<tbody>
</tbody>
To give this:
Booking Date (variable length Character but always end with “,”)
Booking Reason (variable length Character but always end with “–“)
If both not found, return: not available
Only look for latest recorded entry
<tbody>
</tbody>
This is how I tracked in Excel, please advise me how this work in access. ($AC is TextBox)
=IFERROR(MID($AC4,SEARCH("Booking Date:",$AC4)+24,11),"not available")
Many thanks!
I am trying to create a query which it record dates and reason from textbox.
From
Item Number | TextBox |
1 | 29-Dec-2015 - AMY - Booking Date: 20-June-2016, Booking Reason: Business – Change Venue, 21-Dec-2015 - SAM - Booking Date: 20-May-2016, Booking Reason: Business – Offsite meeting. |
2 | 01-Dec-2015 - AMY - Booking Date: 23-June-2016, Booking Reason: Business – Change Venue, 21-Dec-2015 - SAM - Booking Date: 20-May-2016, Booking Reason: Business – Offsite meeting. |
<tbody>
</tbody>
To give this:
Booking Date (variable length Character but always end with “,”)
Booking Reason (variable length Character but always end with “–“)
If both not found, return: not available
Only look for latest recorded entry
Item Number | Booking Date | Booking Reason |
1 | 20-June-2016 | Business |
2 | 23-June-2016 | Business |
<tbody>
</tbody>
This is how I tracked in Excel, please advise me how this work in access. ($AC is TextBox)
=IFERROR(MID($AC4,SEARCH("Booking Date:",$AC4)+24,11),"not available")
Many thanks!