Results 1 to 2 of 2
  1. #1
    Lounger
    Join Date
    Jul 2001
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Write DATA into a text file by VBScript (vb 6)

    Hi,
    do anyone know where can i get a sample codes of vbscripts so i can perform the task :
    select * from tablename , those records output to a text file.

    thanks

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Write DATA into a text file by VBScript (vb 6)

    Are you familiar with ADO? If you are running your database query using ADO, there is a very convenient way to retrieve the table/query result as a string with your choice of delimiters. See Post #110129. However, if you are trying to make it lay out in a particular way, this wouldn't be very helpful.

    If this doesn't get you on the right track, can you supply more information about your project?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •