Category: MS Access
MS Access: HTML Editor Control to Use in Forms
If you want to get HTML editor within MS Access form, there are couple of solutions available. The free solution I know is to get Not So Elegant HTML Editor. The problem with this editor is that After looking at this editor, you will never say “so cool” It is good for basic editing but…
MS Access VBA: Get/set Javascript Variable in Microsoft Web Browser ActiveX Control
In your MS Access application, if you are using Microsoft Web browser, we may have to interact with the JavaScript variable inside the loaded page. There is no obvious method exists in the Web browser control but using the following trick you can get/set the JavaScript variable in the webpage. Quick Tip Add JavaScript function…
List of MS Access Properties Available Through CurrentDB.Properties
CurrentDB.Properties is nothing but a collection. If you can iterate through a collection, you will be able to get the list of all the properties. Code to iterate through all properties is It gave me the following list of properties. I don’t know the data types of the these properties but I put it for…
ADODB Command.Execute Does Not Return Error for RAISERROR
Description I was executing a stored proc which would halt its execution using RAISERROR. When I tried to run the stored proc in Query Analyzer it worked fine and gave me error but in VBA it couldn’t halt the execution and continued to the next statement.
MS Access Pass-Through Query Error: Cannot Execute a Select Query
When I tried to run an UPDATE statement from pass-through query, it throwed error “Cannot execute a select query”. This is due to that fact the property ReturnsRecords is set to True which requires the pass through query to return results. If it does not return recordset, it will throw an error. You can correct…
MS Access: Check If The Normal Form Or Subform Form Is Loaded
If you need to check if MS Access form is loaded or not, you can easily check it using the folloing code This code is good until you are using single form application. This code will fail if the form is used as subform. To search all the forms including subform, I have created a…
How to Assign Recordset to the Recordset Property of Listbox?
This way the new recordset will be assigned to the list and the original will be closed.
Microsoft Access: Why qdf.execute Is Not Showing Any Warning?
I had an application in which I had a code like The query was not running because of error but the application was not breaking at the time of error generation. To force the application to break/throw exception write the statement like This way we can catch all errors.
Things to Remember While Converting Microsoft Access Application Into SQL Server Application
When the Access database grows much large and the performance of the application gets worsen, you might need to think of upsizing the Access database into SQL Server database. So that you can split your MS Access front end and SQL Server back end. Microsoft Access comes with a utility called “Upsizing Wizard”. It is…