Avatar billede salimbharuchi Nybegynder
24. november 2008 - 12:27 Der er 3 kommentarer

Time Stamp must calculate and result Percentage

Hi,
I am using timestamp for Students CheckIn..
what i need is to calculate the percentage of working days within a month by a student..
Thanks in advance for help..
Avatar billede terry Ekspert
24. november 2008 - 12:53 #1
You will need to give an example of tables/fields and also fi there is a filed indication checkin or checkout, or are they only checkin?
Avatar billede salimbharuchi Nybegynder
25. november 2008 - 10:18 #2
Infact terry i was able to do it myself...
Was just stuck @ one stage so tot off to post it here...Any ways thanks....
One more thing terry hope you remember me you helped me with one more most before...
Infact i have two queries..

qryStudentCheckIn & qryNotCheckedIn

As i was concerned about getting list of students who are not CheckedIN...you made a criteria on qryNotCheckedIn something like this:
Not In (SELECT SID FROM qryStudentCheckin WHERE CheckinDate = date())


If you see this it takes data from Not In qryStudentCheckIn ...thats fine...

but now WHERE CheckinDate = date() give me list of students on a current day...

Now what i need is a date range or something which gives me a list for a month or some alternative to that...


Can you help me with this...

Best Regards,
Salim..
Avatar billede terry Ekspert
25. november 2008 - 18:12 #3
Hi Salim
I think you need to explain in more detail.
I can remember helping you with qryStudentCheckin etc. but I'm not quite sure I understand what you want now?
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Dyk ned i databasernes verden på et af vores praksisnære Access-kurser

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester