J
jason
Access 2000:
I have a customer-inventory table I need to loop through and compile a list
of all the inventory items the customer is tracking. The problem I am
finding is that a simple loop will pull out the customer details each time
their is an inventory item listed....I need to get the customer out ONCE and
list his items....is there an elegant way to do this:
Here is the table:
Cust-Invent Table
CustID InvenID
101 356
101 222
101 187
55 34
55 123
But I need to get the extract it to my ASP page like this:
101
----
356
222
187
55
---
34
123
If I simply loop the table I will repeat the customer details which I do not
want want. I just want to get the CustID and then list the inventory items
underneath (and send an email to him) and then rs.movenext to the next
record....
I really appreciate any help here...
Jason
I have a customer-inventory table I need to loop through and compile a list
of all the inventory items the customer is tracking. The problem I am
finding is that a simple loop will pull out the customer details each time
their is an inventory item listed....I need to get the customer out ONCE and
list his items....is there an elegant way to do this:
Here is the table:
Cust-Invent Table
CustID InvenID
101 356
101 222
101 187
55 34
55 123
But I need to get the extract it to my ASP page like this:
101
----
356
222
187
55
---
34
123
If I simply loop the table I will repeat the customer details which I do not
want want. I just want to get the CustID and then list the inventory items
underneath (and send an email to him) and then rs.movenext to the next
record....
I really appreciate any help here...
Jason