Hi
I am trying to create a Grid for displaying the recorset but I am getting an error.(Runtime exception)at Grid.Rows
I am sending the code please tell where I have gone wrong
set con=s e r v e r.CreateObject("ADODB.Connection")
set rs=s e r v e r.CreateObject("ADODB.Recordset")
con.Open cnstr
msql="Select * from Customer_Mst"
rs.Open msql,con
SET Grid=S E R V E R.CreateObject("MSHierarchicalFlexGridLib.MSHFlexGrid.6")
Grid.Rows=5
Grid.Cols=5
while not rs.EOF
Grid.TextMatrix(0,0)=rs.Fields("Cust_Code")
rs.MoveNext
wend
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only