D
dgunning
I have a check register file that I am processing in access. It is a text
file in a non-standard format, so I am reading the file one line at a time.
I have a table which I empty and then add the appropriate data as I read it
from the text file. There is a check number field which is only filled in in
the check register file when it changes (one check can have charges to
several different accounts), so after all the data is read in, I then go
through the table one record at a time and copy the check number down until I
come to another check number, rinse, repeat.
But it seems like I cannot count on the records being in the same order in
the table that they are in the text file. The maddening thing is that
sometimes this works, and sometimes it doesn't. I've spent most of today
trying to figure out why this isn't working (consistantly), but have had no
success. I even added a sequential number field as I built the table and
then ordered by that field and it still doesn't work all the time. Does
anyone have an idea what I'm doing wrong here? Thanks for any help.
file in a non-standard format, so I am reading the file one line at a time.
I have a table which I empty and then add the appropriate data as I read it
from the text file. There is a check number field which is only filled in in
the check register file when it changes (one check can have charges to
several different accounts), so after all the data is read in, I then go
through the table one record at a time and copy the check number down until I
come to another check number, rinse, repeat.
But it seems like I cannot count on the records being in the same order in
the table that they are in the text file. The maddening thing is that
sometimes this works, and sometimes it doesn't. I've spent most of today
trying to figure out why this isn't working (consistantly), but have had no
success. I even added a sequential number field as I built the table and
then ordered by that field and it still doesn't work all the time. Does
anyone have an idea what I'm doing wrong here? Thanks for any help.