Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Repetitive corrupted remote views
Message
De
06/12/2008 17:36:53
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
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
Network:
Windows XP
Database:
Firebird
Application:
Desktop
Divers
Thread ID:
01365758
Message ID:
01365789
Vues:
13
>Hi all
>
>I have a client who used my app as a single user and there were atleast a couple of times when the remote views were corrupted(?) and ended up replacing the serial number field value with, say the previous rows value, thus loosing the current value and ending up as a duplicate serial numbers for many rows. This is not the PK so records were identifiable.
>
>This is a supposedly a unique value but being an old app when I was foraying into Remote Views and FireBird I don't know why I have not implemented unique constraints on the back-end.
>
>We then did a reinstall (after recompiling the app for framework updates but not to the database and RVs) which recreated the RVs. We corrected the serial numbers and things are fine since then. Now they installed a node of this app (the new compile mentioned above) and the first thing that happened on the node is corrupted views and some of the data-entry forms (views) came up empty and others showed data properly. I made him recreate the RVs and things were fine again.
>
>What might I have done wrong or is going wrong. Please let me know.

No idea as to where things may have gone wrong, but if you have a views-only dbc, you can give each user a copy - you already have the code to create it from scratch, so why not do it on user's local directory? The app would be a tad faster, too, because every time you open a remote view, they hit the dbc; now they'd hit their own.

The time to create a dbc may not be negligible - YMMV. Eight years ago, when I last had such a problem, I set the code to make new local dbc whenever the loader detected a new version of the exe, so it would be part of a "you have a new version, let me make sure your settings apply to it" bit of the installation routine, so the extra dozen seconds (or up to a minute on the then 200MHz machines and big DBF files) weren't confusing the user.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform