Sample Code for Data Refresh Based on Time or Record Change

J

Jeff Moore

Alvin:
Another one that I am unable to figure out is sample of code driven data
refresh based on time or source data change. Right now I am using META
refresh but this is not a very good solution. I see the "screen updating
property" in the Black book but can not figure out how to order the data
refresh through VBScript.

Thanks
Jeff
 
A

Alvin Bruney - ASP.NET MVP

screenupdating property doesn't apply here. What are you trying to do?

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
 
J

Jeff Moore

Alvin:
The application is a chart control displaying continuously updating data.
(Production Attainment). I am currently using META REFRESH to reload the
webpage which contains the chart control. What I would like to do is refresh
the data only with VBscript or Jscript. Could not figure this out from the
Black book.

Thanks
Jeff

Alvin Bruney - ASP.NET MVP said:
screenupdating property doesn't apply here. What are you trying to do?

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



Jeff Moore said:
Alvin:
Another one that I am unable to figure out is sample of code driven data
refresh based on time or source data change. Right now I am using META
refresh but this is not a very good solution. I see the "screen updating
property" in the Black book but can not figure out how to order the data
refresh through VBScript.

Thanks
Jeff
 
R

Richard Ch

Hi,
It's not for this forum but you can try something like this:
window.location.reload()
Ta,
Richard
 
J

Jeff Moore

Richard:
Thanks. I tried the following code:

<script type="text/vbscript">
sub Refreshdata()
dim Windows
//msgbox("Data Refresh Executed")
Windows.location.reload()
end sub
</script>


IE returns the ERROR
OBject Required 'Windows'

Jeff
 

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