View Single Post
  #1  
Old May 6th, 2010, 08:06 PM posted to microsoft.public.access.forms
Golfinray
external usenet poster
 
Posts: 1,597
Default Dirk Goldgar help please!!!

The other day, you gave me a fantastic fix for resetting my form
recordsource. You told me to add the query statement in second column of the
combo for each user selection in the first column. That works fantastic!!!
But now my filter doesn't work. I know I probably have something in the wrong
order. I have tried:
me.recordsource = me.cbodatasource.column(1) & vbnullstring
me.filter = "[district] = """ & me.cbodatasource & """"
me.filteron = true
me.requery

me.filter= "district] = """ & me.cbodatasource & """"
me.filteron = true
me.recordsource = me.cbodatasource.column(1) & vbnullstring

and all other combinations. I have tried requeries after one statement,
requeries after both. It will filter or it will set recordsource but not
both. I hope I won't have to have a separate combo for that. Thanks so much!
Milton
--
Milton Purdy
ACCESS
State of Arkansas