Re: lookup of Excel to Access
From: Jeff Boyce (JeffBoyce_IF_at_msn.com-DISCARD_HYPHEN_TO_END)
Date: 06/17/04
- Next message: Jeff Boyce: "Re: Mass Append From Form"
- Previous message: Jeff Boyce: "Re: Extracting Initials"
- In reply to: Erwin: "lookup of Excel to Access"
- Next in thread: Erwin: "Re: lookup of Excel to Access"
- Reply: Erwin: "Re: lookup of Excel to Access"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Jun 2004 05:14:39 -0700
Erwin
First, you'll need a table that holds the values you'll be "looking up".
Then, create a query that is sorted in the order you need.
Finally, in your query, you want the largest value that is <= your
criterion. You can parameterize this for user input, or you can use a form
to "collect" the comparison, and your query can use an expression to refer
to the form control's value.
-- Good luck Jeff Boyce <Access MVP>
- Next message: Jeff Boyce: "Re: Mass Append From Form"
- Previous message: Jeff Boyce: "Re: Extracting Initials"
- In reply to: Erwin: "lookup of Excel to Access"
- Next in thread: Erwin: "Re: lookup of Excel to Access"
- Reply: Erwin: "Re: lookup of Excel to Access"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|