Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: Access table names

    That depends on exactly what you are doing.

    But basically 'work' is a keyword, which is why the problem occurs. If you
    reference it as [work] it should be fine, but generally I recommend you do
    not name tables and columns with keywords.

    "Tracey" <traceywillicombe@hotmail.com> wrote in message
    news:086701c35a9f$1a50d1f0$a601280a@phx.gbl...
    > I am trying to load data into a datagrid from an MS Access
    > table called 'Work' but I get an error saying 'Syntax
    > Error in FROM clause'. If I just change the table name to
    > Work1 it displays okay.
    >
    > Does anyone know if there is a reason why this would
    > happen?

    Marina Guest

  2. Similar Questions and Discussions

    1. Database table names
      In the database tab of the Application panel, when I go down the hierachy to the tables dreamweaver shows the full path instead of just the table...
    2. querying field / column names in Access table
      I got great info on my last post, so let's try this one and see if my luck is still good: I have an Access table with about 30+ columns / fields...
    3. ASP/Access 2002: how do I get column names from table (in order) using OLE DB?
      When I use ADOX to get columns(fields) of a table, they are *auto-sorted alphabetically by name*. I need to get the list of field names as they...
    4. How best to grab SQL table names?
      I've got a script that goes through SQL files and returns an array of table names. To find table names I use: while ($_ = <FILE>) { if ($_ =~...
    5. Dataset and table names.....
      I have a stored procedure that queries a sql server database and returns the multiple data tables ( 7 to be precise) these tables are the results of...
  3. #2

    Default Re: Access table names

    I have a list of MS Access Reserved words in the code library on my site:
    [url]www.aboutfortunate.com[/url]. Search the code library for: reserved words

    There are a lot of them...

    I hope this helps.

    --
    S. Justin Gengo, MCP
    Web Developer

    Free code library at:
    [url]www.aboutfortunate.com[/url]

    "Out of chaos comes order."
    Nietzche
    "Marina" <zlatkinam@nospam.hotmail.com> wrote in message
    news:ufKjk%23pWDHA.1872@TK2MSFTNGP12.phx.gbl...
    > That depends on exactly what you are doing.
    >
    > But basically 'work' is a keyword, which is why the problem occurs. If
    you
    > reference it as [work] it should be fine, but generally I recommend you do
    > not name tables and columns with keywords.
    >
    > "Tracey" <traceywillicombe@hotmail.com> wrote in message
    > news:086701c35a9f$1a50d1f0$a601280a@phx.gbl...
    > > I am trying to load data into a datagrid from an MS Access
    > > table called 'Work' but I get an error saying 'Syntax
    > > Error in FROM clause'. If I just change the table name to
    > > Work1 it displays okay.
    > >
    > > Does anyone know if there is a reason why this would
    > > happen?
    >
    >

    S. Justin Gengo 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