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

MSHFlexGrid Refresh(SQL SERVER 7)

Status
Not open for further replies.

NevG

Programmer
Oct 10, 2000
162
GB
Hi gang

How can I refreshthis grid when I have added or removed records from a SQL Server 7 database. I have tried Grid1.refresh and redraw = true but nothing is refreshing the grid. My cursor is set to dynamic and therefore should be correct.

Help Please

Nev
 
It is working well with ado recordset & Access 200 db

::::::::::::::::::
Set mshflexgrid1.DataSource = Nothing
adodc1.Requery
Set mshflexgrid1.DataSource = adodc1
mshflexgrid1.Refresh
::::::::::::::::

Here I used MshFlexgrid and Ado Recordset

Hope this clue will help. Good Luck
 
i u try
set recordset=nothing
then reopen recordset
and then say
msflexgrid.refresh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top