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

When "In Top Level Form" closes, leaves blank box

Status
Not open for further replies.

dbMark

Programmer
Apr 10, 2003
1,515
US
I have a form that opens as an "In Top Level Form" on a blank area of the Top Level Form. It only holds a grid for a table display/edit. When I hide the grid and close its form, it leave a white box behind. Thisform.refresh does not reset that area back to the background color. Is there a way to do this?

Why I used the above approach... Originally the grid was was on the top level form but I kept getting an error when changing another table. Now that I look back, probably all I had to do was clear the recordsource then reset the recordsourse to the new table? I think I was trying to close the entire grid and redefine the entire grid and it wouldn't let me redefine the columns.
 
I've found that the CLS method will clear up blank areas of a form.


Hope that helps,

Stewart
PS If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top