Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select in large tables
Message
De
06/07/2001 09:09:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00527385
Message ID:
00527387
Vues:
18
This message has been marked as the solution to the initial question of the thread.
The problem is with the part: !DELETED("invdet")

See the help file: the table is re-opened for the SELECT.

Use:
SET DELETED ON
SELECT ...;
  into cursor
* without the !deleted() clause
Regards, Hilmar.

>Hi,
>
>I have big problem .... Please, help me !!!!!!!
>
>I have two tables INVOCES /500 records/ and INVDET /26000 recs/ . To print invoces i use command :
>
>SELECT invoices.*,invdet.*,invdet.td as to;
> FROM invdet,invoices;
> WHERE invdet.invoiceid=invoices.invoiceid;
> AND invoices.invoiceid=THISFORMSET.vlinvoiceid;
> AND !DELETED("invdet");
> ORDER BY art;
> INTO CURSOR inv_prn .
>
>It work fine.
>
>When records in INVOICES passes 5000 and INVDET - 50000 this command generate empty cursor . To edit invoice i use "local view". When I update this view SELECT command work fine.
>
>Why ?
>
>VFP6.0 SP5 , Win98SE.
>
>Krasimir Georgiev
>Sofia
>Bulgaria
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform