So let's say intCountedNames contains the number of counted names and that you created an array to store the inStr locations of the names and called it NameLocation. (Don't forget to remove the semicolons when done using the Replace function)
The array would look something like...
It always good to break down the problem.
First, you'd have to define what you exactly mean by perfect attendance. Is that 9 hours/day x 5 days x 4 weeks = 180 hours/month? If it's that simple, then you can sum the attended hours and compare it with 180. If you want to account for public...
You'd have to start off by counting the names by basically counting the number of semicolons in that column.
Once done, you will repeat the (INSERT INTO) SQL statement based on the number of names you counted using a simple For..Next loop.
First, it wouldn't hurt to have a one-many relationship between tblEmployee and tblActions with EmployeeID being the connection.
Then, you can use SQL's INSERT INTO (Currentdb.execute method) everytime you want to record an action.
You can have a Scheduled Task in windows to open your access DB every month.
Once your DB opens, you can have it run a certain query/module depending on your exact needs.
You can change the control source of that textbox to something like =[forms]![myform]![MyPassedValue]
I'm assuming that value is copied straight from a form? Or did I misunderstand?
Funny you mention that, I am currently developing a DB solution for a beauty salon. They're still doing things like my grandfather did in his grocery store back in the 50's: super large book (they must have a name for them) and a drawer with crumbled bank notes.
Share that .exe perhaps we can...
I am very impressed!
There's a lot to learn from the file you posted, I've never worked with class modules before so this should get interesting.
And yes, it worked like a charm :) Just need to apply that to a color chooser now
Thank you
I'm not interested in using ActiveX controls as I plan on distributing my database to very non IT-savvy people, last thing I want to deal with is missing controls or installation files.