Relative Content

Tag Archive for vbams-access

changing DecimalPlaces property in VBA from AUTO

i have a complex reporting module which creates reports on the fly. that’s why i’m adding table programmatically, this is a way to allow to add and edit reports without having to redesign the app, everything is dynamic, there’s a set of tables that store configuration parameters and adding or changing a report just requires changing some data in those tables

MS Access pick an image in a continuous form

I have a continuous form, in the table I have a field with the path of an image, so in the form I set that field to an image control and it shows the image, that works great.

csv to excelfile conversion via VBA

I’m trying to write a function which converts a csv file into an excel file. I’m using Access 2021 and my problem is concerning the **Opentextfile **line below..

Why would a ‘Cannot Open Specified File’ error appear on End Sub?

Full context, because this is such an odd problem that I’m not even sure where the issue lies: the database I’m working on requires the storage of consent forms for easy access. I’ve set this up by using code to copy a selected file into a central storage folder (referenced in the global constants), and adding the filename (ConsentProof) to a Short Text field on the Customer table. The Customer form then uses a query to create the full file path (ConsentLink) from the filename and the aforementioned global constants, and displays that.