Solved

Recordsetclone ? Underlying table ?

Posted on 1998-09-25
6
692 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: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:spiridonov
ID: 1963546
What statement is producing error? Post it here. Where do you see this error?
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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 40 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

791 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