Results 1 to 3 of 3
  1. #1
    varadaradj is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2018
    Posts
    11

    Arrow Table created with query

    Hi



    I am developing a Form in VB6, in which after getting some inputs from users, I am generating a new table in database successfully. After generating the table, I am utilizing / processing the generated table. After successful generation of new table, when I try to process the same, VB6 says the new table is not found and a debug End/Debug dialog box appears. After few seconds I'm just debugging the form, I'm resuming & at that time only the new generated table is available for process. To overcome this issue, I just given a message box with OK button only, to give some time delay to get ready the generated table.

    Even after that also, many times it says the new table is not found. I can understand that access requires some time delay to utilize the newly generated table. Earlier, giving a message box (with an OK button only) can solve the problem. But, now a days, it is not sufficient.

    Can anybody please help me how to overcome this issue.

  2. #2
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    You could try adding RefreshDatabaseWindow to your code after the table is created. However, frequent use of make table query suggest less than optimal design. If you want comments on that, elaborate on the process (what makes adding table necessary; do you delete it later & recreate, etc.)

    EDIT: I assumed you meant VBA for Access, not VB6. If it's really VB6, then I don't know if RefreshDatabaseWindow is part of that library.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    varadaradj is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2018
    Posts
    11
    I got a way to overcome this issue.

    I'm just closing the connection and opening again. That's all. The created temporary table now available for processing.

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

Similar Threads

  1. Replies: 3
    Last Post: 02-25-2018, 09:35 AM
  2. UPDATE Query, Created Temp Table Not working
    By CoffeeFunnel in forum Queries
    Replies: 4
    Last Post: 04-26-2017, 01:49 PM
  3. Replies: 3
    Last Post: 02-22-2016, 03:38 PM
  4. Replies: 2
    Last Post: 09-27-2014, 09:48 AM
  5. Replies: 2
    Last Post: 01-20-2014, 12:50 PM

Tags for this Thread

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