Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Recordsetclone ? Underlying table ?

Posted on 1998-09-25
6
Medium Priority
?
702 Views
Last Modified: 2012-06-21
Hi experts,

In a macro in access 2.0 which does some simple
runsql statements, which contain only a few simple delete and update sql's i have an error. This macro run's at night and then i have the error, when i rerun it in the daytime i have no error.

the error : 'Can't open form whose underlying query contains a user-defined function that attempts to set or get the forms recordsetclone property.'

I am not opening a form. I don't have a clue.
In the macro i don't use the recordsetclone property.

Jan

0
Comment
Question by:jan_l_keersmaekers
  • 2
  • 2
  • 2
6 Comments
 
LVL 7

Expert Comment

by:Victor Spiridonov
ID: 1963544
Post here  your macro code that produces an error.
0
 

Author Comment

by:jan_l_keersmaekers
ID: 1963545
it contains statemens as

RUNSQL
Delete * from TITB006

this mdb contains no forms

0
 
LVL 7

Expert Comment

by:Victor Spiridonov
ID: 1963546
What statement is producing error? Post it here. Where do you see this error?
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 3

Expert Comment

by:kaldrich
ID: 1963547
Are you running a connection to a database other than Access (via ODBC?)
0
 

Author Comment

by:jan_l_keersmaekers
ID: 1963548
no

0
 
LVL 3

Accepted Solution

by:
kaldrich earned 120 total points
ID: 1963549
Your macro is too simple to be causing this problem.  Let's try this: build your query in Query Builder.  Instead of using a RunSQL, try OpenQuery to run your built query.  Hope this helps.

Kevin
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question