I have to import a txt file into a DB to track trends. Below is an example 1 (attached) of the layout of the file. When I import the file the data transfers without a problem. The only thing is that there is a “Batch” column which as the data which is different as the txt file loads. I have been looking to find a way that the column would copy the previous record’s “Batch” field and paste it unto the current one, see example 2 (attached). This is the kind of logic I have running in my head
If (current field is empty) then
{
copy and paste previous field into current field
End If
}
I hoping this would copy and paste the current “Batch” till it get to the new one and changes, I just have no clue on how to implement this.
If (current field is empty) then
{
copy and paste previous field into current field
End If
}
I hoping this would copy and paste the current “Batch” till it get to the new one and changes, I just have no clue on how to implement this.