kiwipeet
Programmer wannabe
- Local time
- Today, 16:08
- Joined
- May 13, 2008
- Messages
- 25
Hi.
I'm trying to build a simple form which allows users to filter and edit/add new records. .mdb/.adp front end SQL server backend.
I want to have a few optional fields at the top which allow the user to filter/limit the records they see in the datasheet view. (and reduce I/O) It seems like a straight forward and obvious thing to do, but I am finding it hard to find a simple example to copy.
I'm struggling a bit with the terminology. As I understand it I would have:
1. a form,
2. the main form would have some txt fields.
3. the main form would have a command button which executes
4. a query (using the contents of the fields.)
5. a sub form (datasheet view) which displays the records filtered by the query.
Is this the correct terminology and am I taking the right approach or is there a better way to do this? Am I overlooking an obvious solution.
Can anyone please provide a simple example (or tell me where to find one.)
Any help would be greatly appreciated.
Regards
Peter
I'm trying to build a simple form which allows users to filter and edit/add new records. .mdb/.adp front end SQL server backend.
I want to have a few optional fields at the top which allow the user to filter/limit the records they see in the datasheet view. (and reduce I/O) It seems like a straight forward and obvious thing to do, but I am finding it hard to find a simple example to copy.
I'm struggling a bit with the terminology. As I understand it I would have:
1. a form,
2. the main form would have some txt fields.
3. the main form would have a command button which executes
4. a query (using the contents of the fields.)
5. a sub form (datasheet view) which displays the records filtered by the query.
Is this the correct terminology and am I taking the right approach or is there a better way to do this? Am I overlooking an obvious solution.
Can anyone please provide a simple example (or tell me where to find one.)
Any help would be greatly appreciated.
Regards
Peter