Re: How to exclude fields from the GetString() method?
From: Val Mazur (group51a_at_hotmail.com)
Date: 08/06/04
- Next message: Val Mazur: "Re: Error -2147168227 Cannot create new transaction because capacity was exceeded."
- Previous message: Val Mazur: "Re: problem running a simple append query"
- In reply to: Chris H: "How to exclude fields from the GetString() method?"
- Next in thread: Chris H: "Re: How to exclude fields from the GetString() method?"
- Reply: Chris H: "Re: How to exclude fields from the GetString() method?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 5 Aug 2004 22:14:47 -0400
Hi Chris,
You cannot control selected fields in a GetString method. What you could do
is to use GetRows method to dump info into array first and then convert it
into the string using your own code. I think it would work faster than to
create another recordset based on a first one, but with selected fields
only, but you could go this way as well
-- Val Mazur Microsoft MVP "Chris H" <chorton7777@hotmail.com> wrote in message news:uZVWTYbeEHA.3928@TK2MSFTNGP11.phx.gbl... > Hello All, > > I have like 20 fields in a recordset and I want to use the GetString() > method to get a large string to compare against another recordset. > > The problem is I want to be able to exclude certain fields from being > extracted. The fields I want to exclude *must* be in the recordset but I > don't want to see them when I do the GetString() method. Is there any way > I > can hide those fields? > > What type of fields are *not* exported when I use GetString()? > > The GetRows() method allows me to specify the columns I do want but I only > need a basic string for the row, not an array. > > Thanks in advance guys. > > Chris H > >
- Next message: Val Mazur: "Re: Error -2147168227 Cannot create new transaction because capacity was exceeded."
- Previous message: Val Mazur: "Re: problem running a simple append query"
- In reply to: Chris H: "How to exclude fields from the GetString() method?"
- Next in thread: Chris H: "Re: How to exclude fields from the GetString() method?"
- Reply: Chris H: "Re: How to exclude fields from the GetString() method?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|