am trying to use VBA to delete a form from a series of databases. Some databases are secured (the Admins user, Superv, is the owner) and some are not. I first determine if Superv is the owner of the database by opening it as Superv using CreateWorkspace. If Superv is the owner, I use DOA to give...
I have a form that is based on a query, which includes some formulas. How would I programmatically determine if the control source of a control is a formula in the query as opposed to a field in the query?
I'm having a problem with a function that is called from the On Current event of several different forms. The purpose of the function is to record the ID number of each record, so that I have this value available to use in an audit trail program when I delete a record. This is the code:
Function...
Is there any way to call a function from the Before Delete Confirm and After Delete Confirm events of a form using the standard arguments, for example,
BeforeDelConfirm: =SuppressDelConfirm(Cancel, Response)
or can you only use event procedures with these events?
The is the function (in a...
I am trying to use the following custom mouse pointer code posted on the "Access Web" web site. I want to call the MouseCursor function from the MouseMove event of a text box to display a hand pointer when the mouse moves over the text box. I don?t want to use the PointM function...
I have Access 2000/SR1. When I try to convert my database to Access 97, I get the following error: "The Microsoft Jet database could not find the object 'Main Table'. Make sure the object exists and that you spell its name and the path name correctly." I have converted this...
When I use the SetValue action in a macro to set the value of the tag property of a text box on a form, the value in tag is not saved when I save the form. The macro is triggered by clicking a button. When I reopen the form, tag is blank. I have not tried doing this with VBA, but I assume the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.