Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid user input
Message
De
30/11/2006 01:38:37
 
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 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01173034
Message ID:
01173590
Vues:
9
>Hello John.
>
>The machine is actually a shrimp classification machine, each user has to input more
>data than I've showed and they recieve a paper with the information on it.
>
>Right now whe have 5 machines and the probability of a mistake has increased a lot.
>
>I was thinking about the lock procedure, but is that possible in MS Sql Server ?

Transactionally, yes! But I think I need a better understanding of your business and application models to know for sure. Email me; glad to help.

>I'm sure I read somewhere something about that, but I can't remember where.
>
>Another alternative is to run a batch process to verify data consistency each day
>or twice a day.
>
>c.x.
>
>>Hey Carlos,
>>
>>Consider changing the machine ID from being a user input to a programmed entry using SYS(0). If you can't do that, surely you can use old-fashioned locking to lock the base table on Save and do a query for entires for that machine for conflicting time period as Alex mentioned?
>>
>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform