Problem with data refresh

K

Kyle Jedrusiak

In the application there is a Parent form that contains a sub-form showing a
summary of Child records.

When the user double-click the child record list it brings up an edit form
allowing the user to makes changes to the child record.

When the user clicks Save and then Exit, there is code behind that forces
the sub-form to refresh itself so that the edits made are reflected.

When I run the application via terminal services from my office, the
application behaves as it is programmed to.

When the users run the application locally, the sub-form isn't getting
refreshed. If the user closes that form and then goes back in the data is
displayed correctly.

I ran Microsoft Update on one system, it showed the system as being up to
date.

I even ran the MDAC 2.8 SP1 to see if that was the issue.

Any ideas?
 
S

Sylvain Lafontaine

Maybe a timing problem: the refresh is too fast to have given time for the
change to have completed on the backend. Try adding a delay before making
the refresh.

Also, you did make a mention of Terminal Services in your post; so if you
are using a MDB file with ODBC linked tables then there are more proper
newsgroups for your problem.
 
K

Kyle Jedrusiak

This project is an .adp file. I work on it remotely via terminal services.

But the client runs the app on a local machine.

I'll give the delay a try. Thanks
 
O

openguest

Kyle Jedrusiak said:
In the application there is a Parent form that contains a sub-form showing a
summary of Child records.

When the user double-click the child record list it brings up an edit form
allowing the user to makes changes to the child record.

When the user clicks Save and then Exit, there is code behind that forces
the sub-form to refresh itself so that the edits made are reflected.

When I run the application via terminal services from my office, the
application behaves as it is programmed to.

When the users run the application locally, the sub-form isn't getting
refreshed. If the user closes that form and then goes back in the data is
displayed correctly.

I ran Microsoft Update on one system, it showed the system as being up to
date.

I even ran the MDAC 2.8 SP1 to see if that was the issue.

Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top