Information générale
Catégorie:
Codage, syntaxe et commandes
>> 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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement