CarryOver problem

A

alexasha

Hi,
I used carryover function with great appreciation for last couple years.
I created a new large database and tried to replicate my success with
CarryOver function.
I tried placing either old code or updated code , but always get this error:
Compile error:
User-defined type not defined

and I have "rs As DAO.Recordset" highlighted
Is there any help with this?
Thanks
 
A

alexasha

What is the name of this reference?
my other database with the same code works just fine.
I think it is something very simple that I am missing.
 
A

alexasha

One more question
When do CarryOver I do not transfer date and time. It is possible to get
automatic current date / time without manual entrance
I tried Date() and Time() in table field properties or form field properties
but it does not work with CarryOver
 
B

boblarson

You should be able to put

=Now()

in the table in the field's DEFAULT property. But just realize that it will
only work with NEW records, it won't do it for existing records. For that
you would need to add it with code on a form, or with an update query.
--
Bob Larson
Access MVP
Free Tutorials and Samples at http://www.btabdevelopment.com

__________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top