I have 2 tables one table list parts out and has 2 linebuy fields. A primary and secondary. I have a query that Filters it.
Example
Table 1
Part_Number Price Linebuy1 Linebuy2
ABCDE $3.00 abc def
CDEFG $4.00 def fgh
XYZABC $5.00 xyz abc
Table 2
LineBuy Desc
abc Blah Blah
def Blah Blah
fgh Blah Blah
xyz Blah Blah
Ok now I have a query like this:
Field Part_Number Price Linebuy1 Linebuy2
Critieria =[FormValue]
Or =[FormValue]
This query does work and will show this if I enter the formValue "abc"
Part_Number Price Linebuy1 Linebuy2
ABCDE $3.00 abc def
XYZABC $5.00 xyz abc
Now I have this query in a Form and it works also. Now when I enter this into as a sub form and the main form does have this field it will only show :
Part_Number Price Linebuy1 Linebuy2
ABCDE $3.00 abc def
It cuts out the second linebuy filter. Why does it do this. I have my relation ships set up correct and works fine until I view it from the Main form and not the query or subform. Is there some other setting I'm missing? I had this working before but I added a extra field. So I started over and made it again from scratch with this field added but it still doesn't work. I don't really know what I am missing.
Example
Table 1
Part_Number Price Linebuy1 Linebuy2
ABCDE $3.00 abc def
CDEFG $4.00 def fgh
XYZABC $5.00 xyz abc
Table 2
LineBuy Desc
abc Blah Blah
def Blah Blah
fgh Blah Blah
xyz Blah Blah
Ok now I have a query like this:
Field Part_Number Price Linebuy1 Linebuy2
Critieria =[FormValue]
Or =[FormValue]
This query does work and will show this if I enter the formValue "abc"
Part_Number Price Linebuy1 Linebuy2
ABCDE $3.00 abc def
XYZABC $5.00 xyz abc
Now I have this query in a Form and it works also. Now when I enter this into as a sub form and the main form does have this field it will only show :
Part_Number Price Linebuy1 Linebuy2
ABCDE $3.00 abc def
It cuts out the second linebuy filter. Why does it do this. I have my relation ships set up correct and works fine until I view it from the Main form and not the query or subform. Is there some other setting I'm missing? I had this working before but I added a extra field. So I started over and made it again from scratch with this field added but it still doesn't work. I don't really know what I am missing.