|
-
Aug 2nd, 2008, 11:30 PM
#1
Thread Starter
Fanatic Member
how to extract data for selected month
please tell me what should be the logic of saving data in database for each months? should i save in one table or there is any other simple and good way to do this? if i save data in one table only then how will i get only selected month data while navigating Recordset MovePrevious, MoveNext, MoveFirst, MoveLast method. only selected month data should navigate on these button. please tell me the simplest way to do this. i need this solution urgently.
-
Aug 3rd, 2008, 10:26 AM
#2
Re: how to extract data for selected month
 Originally Posted by chunk
please tell me what should be the logic of saving data in database for each months?..
What do you think would NASA's respond be if someone ask (perhaps via email) how to build a space craft?
Don't you think someone must get educated on the topic first?
In your case how can you even think about working with databases if you don't know what it is?
You need to get yourself one of these books ot at least visit our DB Develpment FAQ forum.
Sorry for being a bit harsh.
Last edited by RhinoBull; Aug 3rd, 2008 at 11:08 AM.
-
Aug 3rd, 2008, 10:30 AM
#3
Re: how to extract data for selected month
One table 
To select only records from one month you need to implement some condition/s (WHERE clause) into your SQL query.
-
Aug 3rd, 2008, 10:57 AM
#4
Thread Starter
Fanatic Member
Re: how to extract data for selected month
Thanks RhinoBull for your reply and the useful link, but if some is well educated for any topic then why anyone will ask the question to others? i just want to know the logic. thank you for reply
Gavio,
i want to work with months because of Employees Salary. can you please make me more clear about database?
suppose i have these fields and pls tell me what field i need to add according to you for date or any other simple logic
Emp_ID
Emp_name
Emp_phone
Emp_Salary
Emp_month
-
Aug 3rd, 2008, 11:06 AM
#5
Re: how to extract data for selected month
First of all, what DB are you using?
-
Aug 3rd, 2008, 11:07 AM
#6
Re: how to extract data for selected month
 Originally Posted by chunk
... but if some is well educated for any topic then why anyone will ask the question to others?...
I didn't say you have to be "well educated" - just educated.
Logic however can be written in 1001 different ways but you still need to know something about it first.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|