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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a popup window with VBScript

Status
Not open for further replies.

rtshort

IS-IT--Management
Feb 28, 2001
878
US
I located the following code to create a popup window in VBScript. It's kind of simple I think.

Sub cmdTest_Click
Set oPopup = Window.createPopup
Set oPopBody = oPopup.Document.Body
oPopBody.Style.Backgroundcolor = "lightyellow"
oPopBody.InnerHTML = &quot;click outside <B>popup</B> to close.&quot;
call oPopup.Show(200,200,250,50, document.body)
End Sub

I need to create a popup window with a MSHFlexGrid and populate it with a recordset. From that I need to be able to add the selected row to another MSHFlexGrid on the page behind the popup. Also several items may need to be added and prices totaled up from the recordset. Any ideas?

Rob
Just my $.02.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top