Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Distributed client-server applications - HOW TO?
Message
From
19/09/2003 17:39:44
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00830578
Message ID:
00830794
Views:
29
Tested. Works. I've designed a remote view with IdleTimeout 1 minute.
Opened it and made some changes. I've stopped the server and issued TABLEUPDATE(). Normally, this returned .F. I've restarted the server and, after 1 minute , I've executed again TABLEUPDATE(). Returned .T. and the data WAS changed. Interesting. I wonder if is the same with cursor adapter class. What bother me is that you must wait the IdleTimeout interval, nothing that you can do untill this interval is elapsed. Or is something? Didn't find anything that will determine foxpro to reconnect before IdleTimeout interval is elapsed.

>
>If you lose your connection (for whatever reason) TableUpdate will not work even if you reconnect. Not even if the connection handle that you get when you reconnect is the same as the one before the connection was lost. My advise would be that you do some testing on this to see what can go wrong if you lose the connection.
>

>With SPT you don't need a permanent connection. You can connect, get data, disconnect, play with data, connect again, and submit changes. Yet, SPT does not work with TableUpdate out of the box. You will need to change a few properties (which I don't remember right now) in your SPT cursor before you can use a tableupdate on it.
>
>Post a second question asking how to make an SPT cursor updateable via TableUpdate. I am sure somebody will remember what properties need to be set.

I will, for sure, but in another day, here is 1 AM, I'll go to sleep.

Thanks again.
Previous
Reply
Map
View

Click here to load this message in the networking platform