Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Processor Showing 100% utilization while Excuting Sql Comnd
Message
De
15/02/2006 08:38:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Processor Showing 100% utilization while Excuting Sql Comnd
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01096448
Message ID:
01096448
Vues:
58
Dear Experts,


I have an application which is working under Vfp8 with Sql Serevr,
I want to disply the latest updated value in a text box.

For Eg. I want disply the latst updated value of total cash balnace in a text box.

The way i did is that, In click event of Command button i wrote like

SQLExec('ConHand','Select * from TrsTble','Cur_Trs')
Sum(Cur_Trs.Tr_Amt) to Thisform.Text.Value

Using the Timer event i m calling every 1000 minute and refreshing the value

This way is working fine, But when i calling 4 to 5 Tables like this at time,
the processor showing 100% utilisation and results network and
system showng hang till end of the process.

Is there any solution to solve my probs.
Or how can i execute 4 to 5 select statement at a time in single SQLExec() command

Thanks in advance

Abdulla
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform