D
dhstein
I have a product table tblProduct) with a SKU for each product (text field)
I also have a category table (tblCategories) which has a list of categories
like this (also text fields) :
Category FirstEntry
NextEntry
Widgets 101
162
Gizmos 205
262
Doodads 324
387
So I'd like to use Dlookup to get the category value for a given SKU. So
the criteria would check for ">= FirstEntry" and "< NextEntry"
1) Can this be done with Dlookup and what would the syntax be?
2) Would this be better as a function ?
Thanks for any help on this.
I also have a category table (tblCategories) which has a list of categories
like this (also text fields) :
Category FirstEntry
NextEntry
Widgets 101
162
Gizmos 205
262
Doodads 324
387
So I'd like to use Dlookup to get the category value for a given SKU. So
the criteria would check for ">= FirstEntry" and "< NextEntry"
1) Can this be done with Dlookup and what would the syntax be?
2) Would this be better as a function ?
Thanks for any help on this.