Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data archtectural conundrum
Message
From
17/10/1999 12:56:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Data archtectural conundrum
Miscellaneous
Thread ID:
00277457
Message ID:
00277457
Views:
51
Hi All,

Here's the situation: I have a row buffered master table, showing the description and applicable dates of a business process. I have a view, optimistically table buffered, of steps in the process. Each step may have none, one, or more forms that have to be printed. I am storing this in a view. This, too, is optimistically table buffered.

Let's call these tables: Process, lvProcSteps, and lvStepForms

My problem is this: While I lock in the current Process record when an edit has begun, the user could jump between lcProcSteps records, rearranging them adding detail, and whatnot. Not a problem, as it's table buffered and I can revert or update all changes. My problem is with the lvStepForms view. If the record pointer is moved in lvProcSteps, I have to REQUERY lvStepForms. If I do that, I must save or revert changes to lvStepForms. If I save changes during the edit in lvStepForms, and then Revert the overall edit, it's only going to revert changes to lvStepForms since the last change of record in lvProcSteps during the edit. There could be orphans; or otherwise unexpected data

What to do? Any suggestions? I have ways to resolve this involving orphan checking, change tables, etc. but they're all sloppy.
------------------------------------------------
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
Next
Reply
Map
View

Click here to load this message in the networking platform