Microsoft Text Driver

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Microsoft Text Driver

    I am migrating a ColFusion 4.5 application that uses the Microsoft Text Driver
    to access a csv file. Which a driver could I use in Cold Fusion MX 6.?, I
    don?t see any driver for text files.

    Thanks,

    MikeLF Guest

  2. Similar Questions and Discussions

    1. [microsoft][odbc microsoft access driver] syntax error (missing operator) in query expression error
      I have a query I want to run using DBQwiksite siftware, which produces the syntax error (missing operator) in query expression error when...
    2. Need Microsoft Access DB driver for Mac OS
      Is there a driver I can install or what can I put in instead of the Microsoft Access driver when setting up a DSN on my mac version of Coldfusion? ...
    3. Microsoft Access driver problem
      Can anyone throe soem light on this issue? We have a clean install of CFMX7.1 Enterprise with the latest updates on a clean Win 2003 Enterprise...
    4. [Microsoft][ODBC Microsoft Access Driver] Could not start session.
      Does anyone know what this problem means??? Microsoft OLE DB Provider for ODBC Drivers error '80004005' Could not start session. ...
    5. [Microsoft][ODBC Microsoft Access Driver]'(unknown)' is not a valid path error
      This is probably an old problem that most of you know how to fix (I hope!). The scenario is that I have a web server running an ASP site that needs...
  3. #2

    Default Re: Microsoft Text Driver

    I would imagine that you would create an ODBC data source using the Microsoft
    Text Driver via the ODBC Data Source Administrator, then use ODBC socket in the
    ColdFusion administrator to add your data source by selecting your ODBC DSN
    from the drop down list.

    Phil

    paross1 Guest

  4. #3

    Default Re: Microsoft Text Driver

    I haven't tried it but I think you can use "ODBC Socket". You would first need
    to create a regular system ODBC DSN. Then log into the CF Administrator, select
    ODBC Socket and chose the ODBC DSN you just created.

    Btw, you can also query CSV files using a regular Microsoft Access Datasource.



    mxstu Guest

  5. #4

    Default Re: Microsoft Text Driver

    The following assumes you are serving from Windows, and that you have access to
    these administative tools:
    First, on the server where CFMX lives open the ODBC Data Source Administrator
    and add an ODBC Text Driver to the SYSTEM DSN list and point it at your text
    file, or at least to the correct directory, and be sure your .txt extention is
    on the list of extentions for that dsn.
    Then when you add the Datasource in CFMX admin, choose ODBC Socket as driver
    type, and on the next screen you will see your named DSN on the drop down list
    for ODBC DSN. Path to the text file and you should have a successful linkage.

    bigbrain28 Guest

  6. #5

    Default Re: Microsoft Text Driver

    Don't you just love it when three people post essentially the exact same answer!

    :D Phil
    paross1 Guest

  7. #6

    Default Re: Microsoft Text Driver

    "Great minds think alike" .... but some of them are a little slower with the reply button than others ;-)
    mxstu Guest

  8. #7

    Default Re: Microsoft Text Driver

    I could create the datasource but now I get the following error:
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Text Driver]
    Text file specification field separator matches decimal separator or text
    delimiter.

    My decimal separator is a comma. Obviously that will match the csv files?
    separator. Any ideas?

    MikeLF Guest

  9. #8

    Default Re: Microsoft Text Driver

    I was reading numbers as characters to avoid the conflict but it doesn?t seem to work. I guess I?ll have to change the separator.

    Thanks you all for your help on the odbc connection to text files.
    MikeLF Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139