K
klp
I've put a post on 2 other website forums and I get no reply so hopefully
someone can help me here.
Okay I have an unbound form that has approx. 10 cbo boxes on it. This form is
for the user to select what they want to view/print on a report. The report
is based from a query w/ criteria input. Previously the query looked at my
table, testingresults, and all the fields(that are cbo boxes) were filled.
Well we have added a couple new fields into the table and these fields are
cbo boxes as well and need to be on the unbound form, or Report dialog as I
call it. But now when I add those fields - run the form and select the
criteria, it prints out a blank report. Because these fields are null still
it reads it and pulls nothing back to the report. Here is the logic I have in
the criteria & or part of the qry:
Like "*" & [Forms]![ReportDialog]![PlasticType] Or Like "*" & [Forms]!
[ReportDialog]![PlasticType]. This was working previously as I mentioned
before there were additional fields added to my report dialog. So I tried
this logic
Like IIf(IsNull([Forms]![ReportDialog]![PlasticType]),"*","*" & [Forms]!
[ReportDialog]![PlasticType] & "*").
This still doesn't work. Say I have a field for PlasticType(which is a new
field I just added) and SurfaceMaterial(this field has data in it). I have
that logic above in each field. If I take out the logic in PlasticType it
will give me my data, but puts out a blank report if it's in there. What am I
doing wrong?
Thanks in advance.
someone can help me here.
Okay I have an unbound form that has approx. 10 cbo boxes on it. This form is
for the user to select what they want to view/print on a report. The report
is based from a query w/ criteria input. Previously the query looked at my
table, testingresults, and all the fields(that are cbo boxes) were filled.
Well we have added a couple new fields into the table and these fields are
cbo boxes as well and need to be on the unbound form, or Report dialog as I
call it. But now when I add those fields - run the form and select the
criteria, it prints out a blank report. Because these fields are null still
it reads it and pulls nothing back to the report. Here is the logic I have in
the criteria & or part of the qry:
Like "*" & [Forms]![ReportDialog]![PlasticType] Or Like "*" & [Forms]!
[ReportDialog]![PlasticType]. This was working previously as I mentioned
before there were additional fields added to my report dialog. So I tried
this logic
Like IIf(IsNull([Forms]![ReportDialog]![PlasticType]),"*","*" & [Forms]!
[ReportDialog]![PlasticType] & "*").
This still doesn't work. Say I have a field for PlasticType(which is a new
field I just added) and SurfaceMaterial(this field has data in it). I have
that logic above in each field. If I take out the logic in PlasticType it
will give me my data, but puts out a blank report if it's in there. What am I
doing wrong?
Thanks in advance.