N
Nick
I've been working with MS Access for the past few weeks. A friend has a side
job working for a summer camp and he needed a database to store all the kids
information. Using VBA is not going to happen, I thought I could do what he
needed much much easier in visual studios.net 2008 and I probably could have
if that department of Microsoft didn't do what appears as drastic as disown
the MS Access department. After much work I am able to read/replace and edit
the data, but through the whole process I started noticing this.
First, in Access the ID(auto number) is listed correct, 1 - whatever. But
when I look at the data through a datagrid in a vb.net program it does
something odd. The numbers don't go in correct order. it might be 1-11,
then 25-201 then 12 through 19 and then 202 through the end. This hasn't
been a problem and it hasn't effected my program in anyway, just something I
thought was weird.
Another puzzle started just the other day, which is what brings me here now.
The person doing the data entry part of this project is on and off using my
program to enter data, and using ms access. Mainly because of bugs that pop
up in the code that need to be hammered out. While filling in info with in
access, he moved 2 fields to have an easier flow. Well, these 2 fields were
the 2 fields used to pull info between that and another database and I knew
it was going to cause problems with my code. But it didn't. When I look at
the DB with in vb.net it moves the fields to the location they need to be,
data and all, but with in access its moved to the new location.
So here is my question. What is the true representation of my database? I
know access is probably doing some sort functions which keep the ID's in
order, but even clicking the "remove all sorts" button does nothing. And why
are fields in different locations depending on what I'm using to look at
them? Whats their true locations? How do I make Access display the database
as it is, not how it believes it is, if that is even the problem I'm having
at all.
One other question, how do you re-assign ID numbers? add five records,
remove the first and "1" is gone forever.
I'm sorry for the length of this question. I have this funny feeling that
this is a DOH moment. That I'm over looking something. I'm sure that this
exact problem has been asked and solved many times over, but I don't even
know what to look for. What is this problem I am having? So thanks for
reading it all, and thanks for any help offered!
job working for a summer camp and he needed a database to store all the kids
information. Using VBA is not going to happen, I thought I could do what he
needed much much easier in visual studios.net 2008 and I probably could have
if that department of Microsoft didn't do what appears as drastic as disown
the MS Access department. After much work I am able to read/replace and edit
the data, but through the whole process I started noticing this.
First, in Access the ID(auto number) is listed correct, 1 - whatever. But
when I look at the data through a datagrid in a vb.net program it does
something odd. The numbers don't go in correct order. it might be 1-11,
then 25-201 then 12 through 19 and then 202 through the end. This hasn't
been a problem and it hasn't effected my program in anyway, just something I
thought was weird.
Another puzzle started just the other day, which is what brings me here now.
The person doing the data entry part of this project is on and off using my
program to enter data, and using ms access. Mainly because of bugs that pop
up in the code that need to be hammered out. While filling in info with in
access, he moved 2 fields to have an easier flow. Well, these 2 fields were
the 2 fields used to pull info between that and another database and I knew
it was going to cause problems with my code. But it didn't. When I look at
the DB with in vb.net it moves the fields to the location they need to be,
data and all, but with in access its moved to the new location.
So here is my question. What is the true representation of my database? I
know access is probably doing some sort functions which keep the ID's in
order, but even clicking the "remove all sorts" button does nothing. And why
are fields in different locations depending on what I'm using to look at
them? Whats their true locations? How do I make Access display the database
as it is, not how it believes it is, if that is even the problem I'm having
at all.
One other question, how do you re-assign ID numbers? add five records,
remove the first and "1" is gone forever.
I'm sorry for the length of this question. I have this funny feeling that
this is a DOH moment. That I'm over looking something. I'm sure that this
exact problem has been asked and solved many times over, but I don't even
know what to look for. What is this problem I am having? So thanks for
reading it all, and thanks for any help offered!