Microsoft
Software
Hardware
Network
Question : SPRY DataSet - not updating on screen after successful update to database
Hello,
I have a main form with an "edit" button. This form is populated with a Spry DataSet. The main form loads a Shadowbox form for user to update data when "edit" is clicked. On the Shadowbox form, I have a button "Update Info". I want the user to press this button, data gets updated, Shadowbox closes and the main form shows the updated information.
Everything is working correctly, except for the update on the main form. I must reload the main form to see the updated data. I have tried Spry.DataSet.updateAllRegi
ons() as well as Spry.DataSet.updateRegion(
"myRegion"
) but neither has any effect. I need it to be update after the Shadowbox is closed.
I'm sure I'm overlooking something very obvious, so I would be very appreciative if someone could point me in the right direction. This is my first project with Spry.
Many thanks.
Cheers!
Answer : SPRY DataSet - not updating on screen after successful update to database
Also, I think you may want to call loadData() after the update is performed.
ds1.loadData();
Random Solutions
Access 2003 -> Word 2003 - have a question on code that works to save doc as pdf file...
system idle 99% however the cpu usage runs at between 25 & 45 %
SPSS - Modify Output of Crosstabs
unknown process - should I be concerned
What does it mean if I am receiving output errors on all of my Cisco Aironet 1130AG?
Mac Mail only shows 90 days of deleted items
Replace sring on the first line and then replace ALL the following string(2 to eof)
Sort Mysql table with recent entries
Dot Net Written Test and Interview questions, Can any 1 suggest link
How do I create a class that handles file I/O for a car rental reservation program?