For the subform it's easier to show by default all rows and apply a filter when the textfield(s) are filled.
Make the subform based on:
SELECT *
FROM cbsofeed_more
UNION
SELECT * FROM cbsofeed_less;
add a button and code in the OnClick:
Me!subBlank.Form.filter = "[Corp_ID_Control_Acct]='"
Me!subBlank.Form.filterOn = True
To reset the filter you could add a button with:
Me!subBlank.Form.filteron = false
Clear ?
Nic;o)
Main Topics
Browse All Topics





by: nico5038Posted on 2004-03-09 at 12:08:58ID: 10554040
Try:
rs].[txtFi ndAccount] rs].[txtFi ndAccount] ;
SELECT *
FROM cbsofeed_more WHERE [Corp_ID_Control_Acct] = [forms]![frmReportParamete
UNION SELECT * FROM cbsofeed_less WHERE [Corp_ID_Control_Acct] = [forms]![frmReportParamete
Nic;oO)