Help separating some data
Collapse
X
-
Thanks for the compliment ADezii.Just out of curiosity, I ran some simple Benchmark Tests against the 2-Phase SQL code that NeoPa posted in Post #11. NeoPa's code processed 127,000 Records and populated the appropriate Tables with the relevant Values, either 10-Digit prefix or not, in an Average of 3.474 seconds over Multiple Trials. I thought the results were pretty impressive. Nice job NeoPa.
I found very early on in my work with Access (when I tried to do it another way) that using SQL to execute any changes was orders of magnitude faster than trying to process the data manually in the VBA code.Comment
-
I assume you are unsure why the Mid() function call would not work correctly.
It would fail in that the following data would be treated as a ten character start string, when in reality it should not be :
The code using InStr() works correctly of course.Code:442092 - B D BACTEC PLUS AEROBIC/F MEDIUM VIAL - BOX OF 50
Comment
Comment