Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert codes in sql
Message
From
03/05/2005 12:03:10
 
 
To
03/05/2005 11:48:29
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01010484
Message ID:
01010495
Views:
26
thanks Sylvain your helpful reply,
pls explaine me more with codes
Select 6
 Goto Top
 Do While !Eof()
     tcode = code
     Select 7
     Set Order To refno
     Set Filter To code=tcode and date<=thisform.adate.value AND month=>thisform.monthfm.value and month=<thisform.monthto.value
     Sum debit To mdr 
     Sum credit To mcr 
     Select 6
     Replace dr With dr+mdr
     Replace cr With cr+mcr
     Skip
 Enddo
thanks for
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform