Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Failed DELETE
Message
From
07/09/1998 18:33:43
Richard Hackett
Dr Dick's Software Inc
Edmonton, Alberta, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00133705
Message ID:
00133882
Views:
10
Hi Barbara

Yes I call VFP sessions 'sessions' and so far I had avoided mentioning VFP datasessions! Y'know if we bought the current Foxpro terminology in a store we'd bring it right back for a refund.

> You want to see the changes made in Session 1 on the screen of Session 2

Well the other way around, yes. Precis. For me, Session 1 is where my debugger and project manager are and Session 2 is 'the other workstation' representing another user's cubicle where I make things like update and delete conflicts happen, running the same code.

Thanks for your suggestion on SET REFRESH and DELETED(). In fact DELETED() is accurately returning the true disk status of the row here. I had already noticed if REFRESH was set to 30 I got the same results, so I wonder if there is not an implicit REFRESH firing on my form before the offending code runs. Anyway it seems OK. I have tried SET REFRESH to 0,0 and to very small values before checking and it didn't make any difference assessing DELETED() here. In case I am getting a refresh with some session-activation event, I will keep up this practice. My problem however seems to be with DELETE in the other session.

Cheers

Dick
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform