Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Should I de-normalise?
Message
De
06/10/2016 13:01:47
 
 
À
06/10/2016 10:44:56
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01641691
Message ID:
01641705
Vues:
38
>>>>They want to change the data entry screen to make it easier for them.
>>>>The screen will allow entering all times for all employees at a particular location for an entire week in one go.
>>>>
>>>>So they'll select the Location and the date of the Monday of the week, all the employees scheduled to work at this location for this week will be displayed in a grid with the following columns:
>>>>
>>>>Employee, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday and some other columns again not that relevant. In each of the day columns they want to be able to enter the start and end time.
>....
>>>>What do you all think? Is this a good enough reason to de-normalise?
>
>>>Use denormalized cursor to show data and the user enter information in it.
>>>Then when Save is pressed normalize it again :-)
>>
>>>BTW I have one question what happens if some employee work on one location Monday and other in Thursday?
>>
>>This does happen. All they do is enter the times in the relevant days for each location.
>
>The others already set you straight on denormalizing the non-data-entry table ;-)
>Not knowing the travel time between locations: Person A starts at location A at 8, gets called to rush to Location B at 9, works there till 13:30 and arrives back at A to work the rest of the day. Will earn some double time if there is only 1 begin and 1 end each day at each location ;-))

I guess that could happen :)
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform