Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I remove a column from a recordset

Status
Not open for further replies.

SpiritOfLennon

IS-IT--Management
Oct 2, 2001
250
GB
Hi,
I have a recordset with about 15 columns, however I only want data from 3 of the columns. How can I easily create a new recordset with just the columns of data I need? i.e. can I drop unwanted columns from the recordset or create a subset of the recordset?
Regards SOL

SOL
I'm only guessing but my guess work generally works for me.
 
Can you not just rewrite the SQL for the original recordset so that it only returns the necessary data.
 
Yeah thanks guys, I realised this almost as soon as I posted the question. Must be one of my dumb days. I seem to be getting more of these the older I get.

SOL
I'm only guessing but my guess work generally works for me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top