Updating MS Access Query

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

  1. #1

    Default Updating MS Access Query

    Can you update a MS Access Query (its simply a join of two tables) using a form
    and <cfupdate>, or do you have to update the underlying tables. I keep getting
    the following error: "Unknown Data Access Error"

    Thanks
    :confused;

    ltiner Guest

  2. Similar Questions and Discussions

    1. updating datagrid with JOIN query
      When making an editable datagrid, I've gotten pretty good and handling the function I call in the OnUpdateCommand event. I can update a table easily...
    2. Updating multiple values from a query
      Hi all, I'm looking for a way to update multiple lines in a database using a form. While I've had no trouble updating single records, this whole...
    3. update query not updating
      Hi I am trying to update via an datagrid only nothing seems to happen how would I diplay what the update query looks like msgbox reponse.write?...
    4. Access db not updating.
      My client moved to a new server now my asp code will not update his Access mdb. There are no error messages.
    5. Adding/Updating records on form with complex query
      I have a database with several tables. The main table has an ID field as its primary key and the other tables all contain extra information and are...
  3. #2

    Default Re: Updating MS Access Query

    Depends. Review the following obtained by typing 'Update Join' in Mr.
    Paperclip's search function in Access. If you can figure it out good luck.
    I've never bothered try, plus the rules will probably changes across versions
    of Access. I've alway bit the bullet and written a separate query on each base
    table. When can I update data from a query? In some cases, you can edit the
    data in query Datasheet view to change the data in the underlying table. In
    other cases, you can't. The following table shows whether a query's results can
    be updated, and if not, whether there is an alternative. Query or query
    field Updatable Solution Query based on one table Yes Query based on tables
    with a one-to-one relationship Yes Query based on tables with a one-to-many
    relationship Usually For more information, click . Query based on three or
    more tables in which there is a many-to-one-to-many relationship. No Though you
    can't update the data in the query directly, you can update the data in a form
    based on the query if the form's RecordsetType property is set to Dynaset
    (Inconsistent Updates). Crosstab query No SQL pass-through query No Query
    that calculates a sum, average, count or other type of total on the values in a
    field, or an update query that references a field in the Update To row from
    either a crosstab query, select query, or subquery that contains totals or
    aggregate functions No By using a domain aggregate function in the Update To
    row of an update query, you can reference fields from either a crosstab query,
    select query, or subquery that contains totals or aggregate functions. For more
    information, click . Union query No Query whose UniqueValues property is set
    to Yes No Query that includes a linked ODBC table with no unique index, or a
    Paradox table without a primary key No Query (or underlying table) for which
    Update Data permission isn't granted Can delete but not update To modify data,
    permissions must be assigned. For more information, click . Query (or
    underlying table) for which Delete Data permission isn't granted Can update but
    not delete To delete data, permissions must be assigned. For more information,
    click . Query that includes more than one table or query, and the tables or
    queries aren't joined by a join line in Design view No You must join the tables
    properly in order to update them. For more information, click . Calculated
    field No Field is read-only; the database was opened as read-only or is
    located on a read-only drive No Field in record that has been deleted or
    locked by another user No A locked record should be updatable as soon as it is
    unlocked. Memo, Hyperlink, or OLE Object field in the query's results Yes

    JMGibson3 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