Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Linking text files

    I have two text files, one with product availability and the other with pricing
    and want to join the two together to produce a price list. I have created two
    recordsets using txt drivers and this works fine. When trying to create another
    recordset with a JOIN between the two files I can't.
    Is it just a naming issue in the SQL or is it impossible?

    Andrew

    tollesbury Guest

  2. Similar Questions and Discussions

    1. Linking two PDF files
      Hi, I'm really new to this platform. I have the following requirements and I want to verify if it's really doable through javascript or even Adobe...
    2. Linking web files
      I have a set of files that make up a complete web site on CDROM (or hard drive). I want to link this site to a page in my overall web. When I linked...
    3. Linking to external files
      I'm having the exact same problem - I can't break Contribute's default behavior of re-arranging the location of linked documents. My company has...
    4. Linking to external files
      I see that this topic has come up several times before - once in 2004 with a Macromedia rep. saying that this has been a "popular request for future...
    5. linking to files
      When you link to a file from a Publisher web site, then save as a web page (or in my case "export to web page" in Publ 2002), the path for the...
  3. #2

    Default Re: Linking text files

    For a join to work both files must have exactly the same fields names and
    field types.

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "tollesbury" <webforumsuser@macromedia.com> wrote in message
    news:d0kme3$p3k$1@forums.macromedia.com...
    > I have two text files, one with product availability and the other with
    pricing
    > and want to join the two together to produce a price list. I have created
    two
    > recordsets using txt drivers and this works fine. When trying to create
    another
    > recordset with a JOIN between the two files I can't.
    > Is it just a naming issue in the SQL or is it impossible?
    >
    > Andrew
    >

    Paul Whitham TMM Guest

  4. #3

    Default Re: Linking text files

    I'm not sure here how I can determine what the field names and types are they
    are raw text files.

    Below is what I would expect it to be but I get 'syntax error in JOIN
    expression'

    SELECT * FROM Parts.txt as parts, PartsPrices.txt as prices LEFT JOIN
    prices.Scale ON parts.Scale = prices.Scale

    Both files have field names in the first line and I have Scale is the first
    field in prices.txt and the last of 6 fields in parts.txt

    Regards,,

    Andrew Gilbert

    tollesbury Guest

  5. #4

    Default Re: Linking text files

    .oO(tollesbury)
    >I'm not sure here how I can determine what the field names and types are they
    >are raw text files.
    >
    > Below is what I would expect it to be but I get 'syntax error in JOIN
    >expression'
    >
    > SELECT * FROM Parts.txt as parts, PartsPrices.txt as prices LEFT JOIN
    >prices.Scale ON parts.Scale = prices.Scale
    Try

    SELECT *
    FROM Parts.txt AS parts
    LEFT JOIN PartsPrices.txt AS prices ON parts.Scale = prices.Scale

    Micha
    Michael Fesser 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