|
-
Nov 7th, 2006, 10:12 AM
#1
Thread Starter
New Member
First Post, First Question, Dynamic Queries
Hi all,
I've been poking around for a while but can't seem to find what I'm looking for.
I'm in the planning phase of a new application where I will fetch data from an Access Database and do some calculation.
The tricky part is that the users might want to exclude a dynamic amount of entries from one day to another.
Here's a simplified example:
VB Code:
Cust_ID Cust_Name Package_No Batch_No
1 Alice 1245
2 John B144 14
3 Eric B145 13
1 Alice 1246
1 Alice 1247 13
2 John B146
. .
. .
(The Batch_No field can be empty)
Now, Let's say that day 1 I want to exclude rows where Batch_No = 14 and Package_No = 1247 and 1245.
On day 2 I want to exclude rows where Batch_No = 15 and Package_No = B146 and 1247 and where Cust_ID = 1
Does anyone know where i might find examples, tutorials or just point me in the right direction on how to create the dynamic queries that make it possible to exclude the rows?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|