
Originally Posted by
Robeen
Could you please explain with a little more detail?
Where are your Filter values being selected
[ListBox, ComboBox . . .]? I am going to guess a ListBox because the values in Form View are in a dropdown but you cannot type into the field.
When filter values are selected, what data is filtered? Values from the field in a table. The Source property is Client which is a table.
Where is the filtered data [on the Form itself, on a sub form, on a report on the main form . . .].? Not an expert access person - novice to medium, the properties are of the form (very top left hand corner of the form that has the little black square box) it brings up the Form properties for the whole form is my understanding...the source is a table; therefore, I would say on the Form itself. How would I know so that I could better answer this question plus learn myself? The form is being driven by macros which contain queries and reports. I am currently on vacation and not at the office to see exactly what the macro says.
What do you mean by:? The 'code' is set to old values? I cannot get to the code but it is something like this maybe not right syntax but that should not matter to answer this questions. (Client.[Program]="Wellderly") Or (Client.[Program-Alt]="Wellderly" Or ..... (there are 4 Ors) We have added a new medical program and there is data in the Client table in the Program field and the new value I want to select is "WellderlyAAA" if that is what is in that field of the table. I merely changed "Wellderly" to the new value of "WellderlyAAA". So, I have not actually changed any of the syntax. As long as I am in the form it will pull the "WellderlyAAA" clients no problem instead of the "Wellderly" which is the old medical program. When I exit the form and come back in the "WellderlyAAA" values have all been set back to "Wellderly". I can actually just remove one of the Or statements eliminating looking at one of the fields in the in the table (the statement looks at 4 fields in the table to see if they have the value "Wellderly") and when I come back into the form the Or statement that I removed has been reinserted. Bottom line, it acts as if it is getting the Filter Property renewed from somewhere else but I am clueless.
Can you post your code?