B
Beginner
Hi!
I have the following problem:
I need to have data in a table (or query?) sorted ascending by a field. I do
this with SQL (INSERT INTO table SELECT fields FROM table2 ORDER BY fieldx
asc), but I have noticed that when I open the table the records are not
always in the order I want them to be in. I need to calculate things and the
records should be sorted, but they aren't.
I found this out today, I have been testing my calculation for a week and
everything has worked fine, but now suddenly the order is different and
calculation calculates correctly but with the wrong values so the outcome is
wrong. I wouldn't mind if the table would be sorted correctly and the sorting
wouldn't be visible when I open the table (so that the calculation would be
correct), but it isn't..
So how should I fix this problem? I searched for this forum and found one
conversation concerning this matter, but I didn't find an answer (there
apparently was an answer in some other place). I was wondering if I could for
example make a query that would be visible (so that I could check it out) in
the Queries-window? Or how should I make this problem disappear? Going
recordset through record by record is quite fast and works if the tables are
correctly sorted.. So is there any way to sort and stay sorted?
- Beginner -
I have the following problem:
I need to have data in a table (or query?) sorted ascending by a field. I do
this with SQL (INSERT INTO table SELECT fields FROM table2 ORDER BY fieldx
asc), but I have noticed that when I open the table the records are not
always in the order I want them to be in. I need to calculate things and the
records should be sorted, but they aren't.
I found this out today, I have been testing my calculation for a week and
everything has worked fine, but now suddenly the order is different and
calculation calculates correctly but with the wrong values so the outcome is
wrong. I wouldn't mind if the table would be sorted correctly and the sorting
wouldn't be visible when I open the table (so that the calculation would be
correct), but it isn't..
So how should I fix this problem? I searched for this forum and found one
conversation concerning this matter, but I didn't find an answer (there
apparently was an answer in some other place). I was wondering if I could for
example make a query that would be visible (so that I could check it out) in
the Queries-window? Or how should I make this problem disappear? Going
recordset through record by record is quite fast and works if the tables are
correctly sorted.. So is there any way to sort and stay sorted?
- Beginner -