Results 1 to 2 of 2
  1. #1
    slimjen is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    727

    delete temp table

    All, I have a sql back end with a access 2003 front end. I have a temp table linking to the front end. The temp table did not have any unique indexes in SQL. When it did; it wouldnt accept the import. When relinked to front end it ask which column to use as unique. This only shows on the access front end and now accepts the import. This temp table is used to import excel data; update records and append the data to a permenate table. When users run the import(cmd button on a form) they delete the temp table then populate with the import. This is not working as expected. I get errors like: "single row update/delete affected more than one row". Also; getting an 3349 error pertaining to datatype. I format the spreadsheet but is loses its formating when during the import process. Does anyone have a way around these issues. The problem seems to be the temp table in SQL. When I use it local; I don't have these problems. I only decided to use it as a linked table because I was able to combine my update statements into one stored procedure.


    Please advise. Thanks

  2. #2
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    I prefer having temp Tables on the front-end anyway. It's less "unnecessary" information in the back-end and eliminates problems caused by two (or more) users trying to use the temp Table at the same time.

    It sounds like moving the Table to the front-end would also solve your problems.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 01-24-2012, 02:16 PM
  2. Replies: 2
    Last Post: 12-20-2011, 10:09 AM
  3. Query for temp linked table
    By compooper in forum Programming
    Replies: 8
    Last Post: 06-30-2011, 06:53 AM
  4. sql temp table creation for form
    By Ian_ in forum Forms
    Replies: 2
    Last Post: 06-17-2011, 03:27 AM
  5. make a temp table from crosstab query
    By stigmatized in forum Programming
    Replies: 0
    Last Post: 07-26-2010, 03:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums