Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Tariq Mehmood
  Where is Tariq Mehmood?
 BAHAWALPUR
 Pakistan
 Tariq Mehmood
 To: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 Tags
Subject: RE: Opening + Closing Balance
Thread ID: 345287 Message ID: 345304 # Views: 32 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Tuesday, May 22, 2012 11:24:33 AM         
   


Dear Sir,

Actually my data is like this


CREATE CURSOR stock(date     d(8),;
					voucherno    n(4),;
                    open1    n(4),;
                    open2    n(4),;
                    arrival1 n(4),;
                    arrival2 n(4),;
                    sold1    n(4),;
                    sold2    n(4),;
                    closing1 n(4),;
                    closing2 n(4))

INSERT INTO stock VALUES ({^2012-07-01},155,15,30,0,0,0,0,15,30)
INSERT INTO stock VALUES ({^2012-09-09},156,0,0,10,0,0,0,0,0)
INSERT INTO stock VALUES ({^2012-09-09},157,0,0,9,0,0,0,0,0)
INSERT INTO stock VALUES ({^2012-09-10},158,0,0,10,0,0,0,0,0)
INSERT INTO stock VALUES ({^2012-09-11},159,0,0,0,15,0,0,0,0)
INSERT INTO stock VALUES ({^2012-09-21},160,0,0,0,0,30,60,0,0)



I want to display voucherno against every date.
So I do not want to get any summed values in single line date.

ENTIRE THREAD

Opening + Closing Balance Posted by Tariq mehmood @ 5/22/2012 9:08:15 AM
RE: Opening + Closing Balance Posted by Borislav Borissov @ 5/22/2012 10:06:04 AM
RE: Opening + Closing Balance Posted by Tariq mehmood @ 5/22/2012 10:16:59 AM
RE: Opening + Closing Balance Posted by tushar @ 5/22/2012 10:30:42 AM
RE: Opening + Closing Balance Posted by Tariq mehmood @ 5/22/2012 10:39:58 AM
RE: Opening + Closing Balance Posted by Borislav Borissov @ 5/22/2012 11:18:16 AM
RE: Opening + Closing Balance Posted by Tariq mehmood @ 5/22/2012 11:24:33 AM
RE: Opening + Closing Balance Posted by Borislav Borissov @ 5/22/2012 11:40:32 AM