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

changing the properties of a subform

Status
Not open for further replies.

llafretaw

MIS
Oct 2, 2001
64
GB
Hi,
I'm trying to change the record source of a sub form that is contained with in the main form and set in to "",(currently has a recordsource that points to a table) from within the main form class module. I have tried different varaition on the following but to no joy.

Forms!frmMain.sfrmSubMain.RecordSource = ""
any help would b appreciated
 
Not sure about the answer.....but the nice people over at the Access Forms Forum will more than likely know... might wanna try this there

HTH
Geoff
 
You should be able to delete the record source of the subform in the properties window of the sobform, I do it all the time. Jim Lunde
compugeeks@hotmail.com
We all agree your theory is crazy, but is it crazy enough?
 
alright cheers for that, didn't realise there was an access forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top