Click here to Skip to main content
15,900,378 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Lets say i have 1 table Contain record of itemcode,batchano,opening stock ,receipt stock, issue stock ,Closing Stock,adddate
receipt is opening + recept =closing
issue is closing-issue
and i have made transaction form grn(Good Receive Note Receipt having grndate on which date it is added) and MIN(Material Issue Note Issue and mindate)

Now i want record as on date
let say on today 12/12/2012

so in my condition where clause

my To Date will be 12/12/2012
and FROM Date on which date record has inserted so how could i get this date
Posted
Comments
dimpledevani 12-Dec-12 7:10am    
Have Column as InsertDate in your table where you are inserting rows
Member-515487 12-Dec-12 7:13am    
yes i have adddate column means when 1st record of particular item is added

1 solution

simple
< = 12/12/2012
< as on date
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900