PrincipalFuller
Programmer
Good Morning,
I'm somewhat of a novice in regards to VBA programming, but able to figure more things out. I'm writing a student management system for a school in Access, and I am writing a script that will compare three different tables, and make sure data is correct. I'm importing a file from the school district, taking our student list and comparing it to the district's, and then checking the free/reduced lunch status from the district list to make sure it is the same as in our DB.
So I have a table of the various status options, (i.e.: free, reduced, full, direct cert, etc.) and then three flags "Free", "Reduced", and "Full".
Right now I'm using DCOUNT to make sure it exists and then DLOOKUP to look up the district's list and then to lookup from the status options table.
But it is running VERY slow.
I don't know how to do an array, but I thought if i could load the district list and the status options into an array, what I want to know is if the district lists a kid with ID ### as "FREE" and then in the status options if "FREE" has a flag in the "Free" column.
Is there a way to do this with arrays? Everything I can find online about arrays is number based, and I need to be string based.
Thanks!
I'm somewhat of a novice in regards to VBA programming, but able to figure more things out. I'm writing a student management system for a school in Access, and I am writing a script that will compare three different tables, and make sure data is correct. I'm importing a file from the school district, taking our student list and comparing it to the district's, and then checking the free/reduced lunch status from the district list to make sure it is the same as in our DB.
So I have a table of the various status options, (i.e.: free, reduced, full, direct cert, etc.) and then three flags "Free", "Reduced", and "Full".
Right now I'm using DCOUNT to make sure it exists and then DLOOKUP to look up the district's list and then to lookup from the status options table.
But it is running VERY slow.
I don't know how to do an array, but I thought if i could load the district list and the status options into an array, what I want to know is if the district lists a kid with ID ### as "FREE" and then in the status options if "FREE" has a flag in the "Free" column.
Is there a way to do this with arrays? Everything I can find online about arrays is number based, and I need to be string based.
Thanks!