Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refreshing Remotely

Status
Not open for further replies.

tkee

Programmer
Feb 6, 2004
55
US
I am currently working remotely. I have code that has been in use for a very long time and has worked fine. Both machines are using Windows 10. I have narrowed down my problem to a form refresh. I have a Search button, go to another form and do the search returning a docket number, then refresh the screen with the new docket number. I start out on the correct record, wait a couple of minutes (literally a couple of minutes) for the screen to refresh, and it has moved to a different record. I can't even test the complicated parts when this doesn't work. The refresh has always just taken a second. I tried refreshing each individual data object on the screen instead of thisform.refresh with no difference. I have messageboxes showing the location in the file before and after the form refresh. There is no code other than refresh between them. I have nothing in the form refresh method. I have changed my paths from mapped drives to IP addresses. I have gone around in circles with this for a couple of days. Help!
 
Why can't you test the complicated parts? If it were me, I'd put RECNO("the relevant table") into the Watch window and set a breakpoint out it and see what's changing it.

Tamar
 
I think I would try and stop working that way - mapping a drive across the internet (IP or otherwise) to access VFP data is almost guaranteed to end up with your data corrupted.

Much better to set up a server local to your data and then use RDP to communicate with that and have it running your application.



Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
 
The process of setting it up isn't hard


That would get you started

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
 
Thanks for the feedback. I have had the problem intermittently working both remotely and working directly on the server. The problem prevents testing because it stems from my search screen, so I have trouble navigating to other screens with an applicable record to test. I have temporarily patched it by assigning the recoord number to a variable and going there after the refresh. The pointer gets lost during thisform.refresh, which sometimes takes forever.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top