kiwipeet
Programmer wannabe
- Local time
- Today, 23:16
- Joined
- May 13, 2008
- Messages
- 25
Hi All.
I have a table of data in SQL server attached via Linked table (200K+ rows).
I have created a form which has a a subform which displays the contets of my linked table in datasheet view. I can filter rows and reduce my visible record set. (very cool so far
)
The number of records in my filtered set may vary form 1 record up to a few thousand rows.
Now I want to be able to execute a query against the filtered rows visible. Not the whole table.
Question: Is is possible to retrieve/use the primary key of a filtered record set in a subform datasheet view?
For example: (update LnkdTbl, set abc = "xyz' where Primary key in (pkey of my filtered record set.)
Any help or suggestions would be greatly appreciated.
Regards
Pete
I have a table of data in SQL server attached via Linked table (200K+ rows).
I have created a form which has a a subform which displays the contets of my linked table in datasheet view. I can filter rows and reduce my visible record set. (very cool so far

The number of records in my filtered set may vary form 1 record up to a few thousand rows.
Now I want to be able to execute a query against the filtered rows visible. Not the whole table.
Question: Is is possible to retrieve/use the primary key of a filtered record set in a subform datasheet view?
For example: (update LnkdTbl, set abc = "xyz' where Primary key in (pkey of my filtered record set.)
Any help or suggestions would be greatly appreciated.
Regards
Pete
Last edited: