Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database update, best practices
Message
From
26/01/2002 08:33:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/01/2002 19:28:37
Carol Dewar
Magram Computer Services Llc
Saugerties, New York, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00610172
Message ID:
00611021
Views:
25
>WOW
>I was looking for guidance on which way to go.
>And you provide me with better code than I have written so far and a solution.

I am glad to be of help.

>You are a mensch,
>Carol Dewar

That I am a "person"? I mean, what else did you expect? Ha, ha!

I didn't previously know this term in English (http://www.britannica.com/dictionary?book=Dictionary&va=mensch lists it as "A person of integrity and honor") - only the German word, which means "person". The link above also indicates this in the ethymology.

Back to the database update: the framework I use, Visual Extend, excels in many areas, but there are a few areas where improvement is needed. The "client-site update" is one of them. If both the parent and the child table are modified, there is no guarantee that the parent is copied first - and it is here that the c.s.update fails miserably (trigger failed).

I ended up creating my own c.s.update (the "clients" are the users at the company I work with), and only used the function vfx_needupdate(), since I didn't want to rewrite that one. That is the function I can't post here, of course. VFX is the letters used by most Visual Extend programs, libraries, etc.

I also did some fruitless efforts to convince them to do the same - they claim it would still fail under certain circumstances. (In their defence, not all ideas submitted are rejected. Some of my own contributions eventually made it to the framework.)

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform