Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in SQL
Message
De
25/09/2005 15:40:31
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, Inde
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01052750
Message ID:
01052871
Vues:
12
All my tables are properly indexed.But there are several if conditions.I think these checkings are slowing my prg but they are obvious.

Here is my code:
if  month(date)<month(Mdate) AND lnAcno=acno  AND year(Mdate)=year(date) 
lnBalance=0
endif

if  lnAcno=acno  AND year(Mdate)>year(date) and lnBalance=0 and month(date)<month(Mdate)+12 
lnBalance=lnMbalance
endif
if  lnAcno=acno  and  MONTH(date)=MONTH(Mdate)  and  day(date)<=10  and year(Mdate)=year(date) 

lnBalance=lnBbalance
endif

*** so many
How I can change my code to speed it up.If you allow I can send the code to you via email.

Chandan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform