Re: how to export the result
From: Newbie (noidea_at_nospam.com)
Date: 11/04/04
- Next message: Jeff Johnson [MVP: VB]: "Re: how to export the result"
- Previous message: Tony Proctor: "Re: Evil type coercion"
- In reply to: Jeff Johnson [MVP: VB]: "Re: how to export the result"
- Next in thread: Jeff Johnson [MVP: VB]: "Re: how to export the result"
- Reply: Jeff Johnson [MVP: VB]: "Re: how to export the result"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 4 Nov 2004 18:31:37 -0000
Thanks but could you explain a little with an example
I have created my UDT and I have my recordset - how do I do the next part?
"Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message
news:uXHIa7awEHA.2572@tk2msftngp13.phx.gbl...
>
> "Newbie" <noidea@nospam.com> wrote in message
> news:Of%23FMmawEHA.1308@TK2MSFTNGP09.phx.gbl...
>
> > I have a sp in SQL and I want to export the results to a Fixed Width
Text
> > file ( I can create a recordset)
> >
> > In Access I would simply right a little code to export the query using a
> > pre-defined specification.
> >
> > How can I achieve the same thing using VB?
>
> Create a user-defined type (a structure) with fixed-width strings. Open
the
> recordset, put the data from the current row into the UDT, write the UDT
to
> disk, move to the next record, and repeat.
>
>
- Next message: Jeff Johnson [MVP: VB]: "Re: how to export the result"
- Previous message: Tony Proctor: "Re: Evil type coercion"
- In reply to: Jeff Johnson [MVP: VB]: "Re: how to export the result"
- Next in thread: Jeff Johnson [MVP: VB]: "Re: how to export the result"
- Reply: Jeff Johnson [MVP: VB]: "Re: how to export the result"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|