Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Temporary table
Message
 
À
08/03/2005 05:49:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00993553
Message ID:
00993568
Vues:
18
>Yes,i do:
>
> Select Distinct tu51_tmp.f01,mull_abs.date,mull_abs.reson,;
> cat_hour_tmp.color_no;
> From tu51_tmp,mull_abs,cat_hour_tmp,cat_dep_tmp,;
> cat_job_tmp;
> Into Cursor mull_abs_tmp;
> Where cat_dep_tmp.chrcode = tu51_tmp.f23 and;
> tu51_tmp.f35 = cat_job_tmp.chrcode and;
> tu51_tmp.f01 = mull_abs.employee and ;
> mull_abs.reson = cat_hour_tmp.chrcode
>
>Why?

Because this select creates a new temporary file opens it in the same area and made it READONLY.
Try this and see if some will change
Select Distinct tu51_tmp.f01,mull_abs.date,mull_abs.reson,;
                cat_hour_tmp.color_no;
From tu51_tmp,mull_abs,cat_hour_tmp,cat_dep_tmp,;
     cat_job_tmp;
Where cat_dep_tmp.chrcode = tu51_tmp.f23  and;
      tu51_tmp.f35 = cat_job_tmp.chrcode and;
      tu51_tmp.f01 = mull_abs.employee and ;
      mull_abs.reson = cat_hour_tmp.chrcode;
Into Cursor tmp_mull_abs_tmp  && Change the Name of the cursor
BTW What version of VFP You use?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform