• "Type conversion failure" error.

    From Peter Jason@pj@jostle.com to comp.databases.ms-access on Wed Jul 8 07:39:15 2020
    From Newsgroup: comp.databases.ms-sqlserv

    I'm getting this error on attempting to run an update query. Since
    many make-table queries also involved, and macros too and the Bill of
    Materials will not re-cost, is there any way to diagnose which entity
    is involved, or at least close in on the problem? Is there some
    diagnostic software available?

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Mal Reeve@mal.reeve@gmail.com to comp.databases.ms-access on Wed Jul 8 04:29:31 2020
    From Newsgroup: comp.databases.ms-sqlserv

    A fairly rudimentary test is to run the query as a Select query and look at the data.
    A numerical column that is left justified is probably a text field, despite ita entries.

    The other quick check is to look at the table for those fields being 'updated' and see if any look "off".

    There is probably a method to output what data type each query field is...but that's beyond my pay grade.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Ron Weiner@rw@domain.com to comp.databases.ms-access on Wed Jul 8 09:16:26 2020
    From Newsgroup: comp.databases.ms-sqlserv

    Peter Jason submitted this idea :
    I'm getting this error on attempting to run an update query. Since
    many make-table queries also involved, and macros too and the Bill of Materials will not re-cost, is there any way to diagnose which entity
    is involved, or at least close in on the problem? Is there some
    diagnostic software available?

    What I'd do would be to remove one output column at a time until the
    query ran without error. That would be the column that was giving you
    Iron Balls.

    Another method would be to change the query to a Make Table query type,
    and let access create the columns an data types. Compare this to your production table and the column(s) in the new table that are not the
    same data type as the your production table are the afformentioned ball busters.

    Rdub
    --
    This email has been checked for viruses by AVG.
    https://www.avg.com

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From samxjones2@samxjones2@gmail.com to comp.databases.ms-access on Wed Jul 8 06:18:42 2020
    From Newsgroup: comp.databases.ms-sqlserv

    Make a backup of your data, look for Decimal data type fields in your tables and change their data type to Double.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Peter Jason@pj@jostle.com to comp.databases.ms-access on Mon Jun 28 07:21:31 2021
    From Newsgroup: comp.databases.ms-sqlserv

    Thanks to all.

    It turned out to be a field with a null value in the bill of materials component entry.
    Restoring the relevant value fixed it.
    --- Synchronet 3.21d-Linux NewsLink 1.2