N
Newtothegame
Please help. I have a report that pulls information from various tables. I
have a 6 text boxes on the the report because the table has data that is
repetative in the field.
Ex. in a table called Offsetjoblist, I have the field [Job Number]. in
this field, in multiple rows the job number is repeated. In that same table
I also have a field called [PN]. This field is the part number. The
situation is that for each entry of the Job Number there is a different part
number associated with the record. on the report I pull the job number from
another table and then use the dlookup to reference the Job Number and Part
Number where the criteria is to match job numbers to pull up the part number.
In other words, the formula looks like this:
=DLookUp("[PN]","Offsetjoblist","[Job Number]=Reports![PROD REPORT]![JN]")
the problem is that the formula only gives me the first instance, so the six
text boxes all read the first instance. I need to have the first text box
read the first instance to give me the first part number associated with the
job number, the second text box to give me the second part number associated
with the job number and so on until I get to the 6th text box. The issue is
that I need to do this directly on the report without having to go into vb.
Is there any way the dlookup can be manipulated to give me the other
instances? and should the formula be different in the corresponding text
boxes to increment rows or something like that?
Thanks in advance for the help.
have a 6 text boxes on the the report because the table has data that is
repetative in the field.
Ex. in a table called Offsetjoblist, I have the field [Job Number]. in
this field, in multiple rows the job number is repeated. In that same table
I also have a field called [PN]. This field is the part number. The
situation is that for each entry of the Job Number there is a different part
number associated with the record. on the report I pull the job number from
another table and then use the dlookup to reference the Job Number and Part
Number where the criteria is to match job numbers to pull up the part number.
In other words, the formula looks like this:
=DLookUp("[PN]","Offsetjoblist","[Job Number]=Reports![PROD REPORT]![JN]")
the problem is that the formula only gives me the first instance, so the six
text boxes all read the first instance. I need to have the first text box
read the first instance to give me the first part number associated with the
job number, the second text box to give me the second part number associated
with the job number and so on until I get to the 6th text box. The issue is
that I need to do this directly on the report without having to go into vb.
Is there any way the dlookup can be manipulated to give me the other
instances? and should the formula be different in the corresponding text
boxes to increment rows or something like that?
Thanks in advance for the help.