Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT &mindbf..ansnavn,&mindbf.ansattnumm
Message
De
12/02/1997 18:16:28
 
 
À
12/02/1997 18:04:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00020253
Message ID:
00020259
Vues:
35
>> INTO TABLE &korrdbf
>>
>> I'm just wondering if this is a correct way to things??
>>
>
>why aren't you using cursors instead?
>INTO CURSOR myCursor
>the file will be a unique (and depending on your setting for TEMPFILES - local)
>the alias will be easier to handle
>
>Arnon

My problem is that I from the start have raw data off employee
that register themselvs in for work.
Like:
empnr/dep/job/datein/hourin/dateout/hourout
from this I calculate overtime and other things.
The emp. is payed for how much fish they cut pr. hour.
But if something gets wrong with the flowline/weight unit
some of the hours are (ssa). So if an emp. have 7,5hours work
and the kilo reg. on them is for 5.5hour They have to correct
the hour.
I made this by using the final result witch always will be calculated
from raw data, into a final result.

This result I show in a grid for one emp:
empnr/dep/job/typeofsalary/hours
if this is
123 10 1 110 7,5
123 10 1 111 0,0

The supervisor in the grid just changes it to
123 10 1 110 5,5
123 10 1 111 2,0
and press button update.

In other words I will always have a final result in a dbf
and corrections in a dbf.
The correction dbf is append to the final result dbf

I hope you understand.

Best regards

Per Simmersholm
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform