Hi Folks,
Here's an interesting one! I am attempting to process a raw text file, Example 1 below. Field1 contains a date value as well as other useful stuff. The records that immediately follow the date value in Field1 all need to have that date assigned to them in the Date field, with this Date field changing when the date changes (see Example2)
Example 1:
Field1 Field2 Field3 Field4 Date
25-May-05 00:05
FO TPGA12 000/0000 HH12 0
FP TPGA12 000/0000 HH12 0
FO TPGA12 000/0000 HH12 0
26-May-05
AJ UNSINP 340/9158 0
AJ UNSINP 875/7049 0
AJ UNSINP 875/7166 0
27-May-05
AJ UNSINP 340/9158 0
AJ UNSINP 875/7049 0
AJ UNSINP 875/7166 0
Example 2 (what I want to achieve!)
Field1 Field2 Field3 Field4 Date
25-May-05
FO TPGA12 000/0000 HH12 0 25-May-05
FP TPGA12 000/0000 HH12 0 25-May-05
FO TPGA12 000/0000 HH12 0 25-May-05
26-May-05
AJ UNSINP 340/9158 0 26-May-05
AJ UNSINP 875/7049 0 26-May-05
AJ UNSINP 875/7166 0 26-May-05
27-May-05
AJ UNSINP 340/9158 0 27-May-05
AJ UNSINP 875/7049 0 27-May-05
AJ UNSINP 875/7166 0 27-May-05
Is this possible with an Update Query? I have tried all manner of things all to no avail!
--
Steven
Here's an interesting one! I am attempting to process a raw text file, Example 1 below. Field1 contains a date value as well as other useful stuff. The records that immediately follow the date value in Field1 all need to have that date assigned to them in the Date field, with this Date field changing when the date changes (see Example2)
Example 1:
Field1 Field2 Field3 Field4 Date
25-May-05 00:05
FO TPGA12 000/0000 HH12 0
FP TPGA12 000/0000 HH12 0
FO TPGA12 000/0000 HH12 0
26-May-05
AJ UNSINP 340/9158 0
AJ UNSINP 875/7049 0
AJ UNSINP 875/7166 0
27-May-05
AJ UNSINP 340/9158 0
AJ UNSINP 875/7049 0
AJ UNSINP 875/7166 0
Example 2 (what I want to achieve!)
Field1 Field2 Field3 Field4 Date
25-May-05
FO TPGA12 000/0000 HH12 0 25-May-05
FP TPGA12 000/0000 HH12 0 25-May-05
FO TPGA12 000/0000 HH12 0 25-May-05
26-May-05
AJ UNSINP 340/9158 0 26-May-05
AJ UNSINP 875/7049 0 26-May-05
AJ UNSINP 875/7166 0 26-May-05
27-May-05
AJ UNSINP 340/9158 0 27-May-05
AJ UNSINP 875/7049 0 27-May-05
AJ UNSINP 875/7166 0 27-May-05
Is this possible with an Update Query? I have tried all manner of things all to no avail!
--
Steven