D
dhstein
I'll try to make this clear without going into tremendous detail. The
database maintains items in a warehouse. When items are sold, it may be that
a product of large quantity will be divided into many units of a product of a
smaller quantity. This is happening on items that are being read from a
file. So as we read the input file and process the warehouse table we have a
pointer to the current record for the "large-quantity-item" in the warehouse
table. Now, I'll write a function that will search for the location of the
"Small-quantity-item" in the warehouse table. So that function is changing
the pointer to the warehouse table. So I need to maintain two pointers to
the same table at the same time (plus the pointer to the input file - but
this is not a problem). Can I do that? My table was opened with Set
rsWarehouse = CurrentDb.OpenRecordset("tblWarehouse"). Can I just do another
statement like Set rsWarehouse2 = CurrentDb.OpenRecordset("tblWarehouse") ?
Thanks for any help you can provide.
database maintains items in a warehouse. When items are sold, it may be that
a product of large quantity will be divided into many units of a product of a
smaller quantity. This is happening on items that are being read from a
file. So as we read the input file and process the warehouse table we have a
pointer to the current record for the "large-quantity-item" in the warehouse
table. Now, I'll write a function that will search for the location of the
"Small-quantity-item" in the warehouse table. So that function is changing
the pointer to the warehouse table. So I need to maintain two pointers to
the same table at the same time (plus the pointer to the input file - but
this is not a problem). Can I do that? My table was opened with Set
rsWarehouse = CurrentDb.OpenRecordset("tblWarehouse"). Can I just do another
statement like Set rsWarehouse2 = CurrentDb.OpenRecordset("tblWarehouse") ?
Thanks for any help you can provide.