Click here to Skip to main content
15,878,809 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to insert value in table 'buy' or 'sell' value
if the value of 10th record of (close)column is greater then 9th record of(refrance) column then insert value buy otherwise sell


how can i do this?

[EDIT from CHill60]
I'm adding some pertinent information to the OP's question and deleting my solution.

Quote:
i have a table there have a (open, high, low, close, ref)column n 4000 rows
i want that if close column value is greater then ref value then print buy otherwisw sell
& i want to do this for all 4000 rows

Quote:
I dnt want to select i want to insert buy or sell value
if the value of 10th record of (close)column is greater then 9th record of(refrance) then insert value buy otherwise sell

Quote:
m using access database 2010 n asp.net 2010
Posted
Updated 26-Feb-15 1:58am
v2
Comments
CHill60 26-Feb-15 7:02am    
Put more detail into your questions! And don't get confused between your posts if you have comments to a solution.
Some code showing what you have tried or what the heck you are trying to do would also be useful
Member 10694442 26-Feb-15 7:06am    
i m also confuse
Member 10694442 26-Feb-15 7:07am    
i tried nothing for this actully i hv no idea n confuse that what condition will be apply

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