Quantcast
Channel: Modules & VBA
Browsing latest articles
Browse All 21 View Live
↧

Outlook Appointment Subform records

Hi All, I have a main form with a subform and I want to insert all records from the subform into an Outlook appointment/calendar entry. Everything works accept how the subfrom records are copied. I use...

View Article


Image may be NSFW.
Clik here to view.

Optimising Routes

I have an interesting query involving moving vehicles around and optimising the drivers over those routes. I'm not sure this is even a sensible process to try and manipulate in Access but I thought I...

View Article

Invalid Query Results

Okay, I admit I've had a long day and that my eyes and brain need a break. But - If Table1 has 2 entries each for Cust_Id (600145 & 600136), Payer (MLTSS) and Therapy (Structured Day) : {Total...

View Article

DLookup does not return correct value

I have a problem opening a form filtered to a particular record. The form is opened by obtaining a values for respondentID, QuestionnaireID and ResponseSessionDate in a dialog. When all selections are...

View Article

Unable to Sort on calculated field, based on another calculated field

I have the following RecordSource Code:Copy to clipboard SELECT dbo_tblManagementCommitteeInstance.intID, dbo_tblManagementCommitteeInstance.intManagementCommittee,...

View Article


Latest version of Access with a Runtime

I guess that the latest version of Access with a Runtime is Access 21. Does anyone know whether a newer version will appear soon?

View Article

Using Variables in OpenForm WHERE condition

Hello all, I posted this in a comment on another thread, but have realized the issue is not completely related to the original post, so I thought I'd start a new one. I'm working on a multi-field...

View Article

Creating combo boxes on the fly

Hi, Been trying to find some code that allows for the creation of a combo box for each value that an SQL tables fields. Lets say 10 fields name in the table would yield 10 combo boxes setup one above...

View Article


Sendkeys not working anymore

Hi I have a small function that I used many many time to create automatically an error handling whenever I write a new sub or function. It has been working flawlessly over years, from Access 2 until...

View Article


VBA problem relating to SQL linked table

Background: I'm using an Access FE to manage data between two linked Excel data sets and a linked SQL table. The excel files = current master data, and the SQL table maintains current and historical...

View Article

Pre-filling certain fields on new record in form

Hello, I've reviewed a number of other posts on the topic of "OpenArgs" and other methods for passing data between forms when using command buttons, however I've been unable to resolve my issue and...

View Article

How to stop VBA from repeating Json output according to number of products

I have created a VBA sub which convert the raw data into Json , the issue is that when you view the output after selecting the invoice number and click post in the immediate you will find that its...

View Article

Update field on calling form

I have a form A which displays, among other things, the value of a field based on some table values. Form A calls Form B which calls Form C which changes the table values, which affects the field value...

View Article


DoCmd.OutputTo - Excel coded sql string

Hi all. I have an (odd) question; The code: DoCmd.OutputTo acOutputQuery, sql_File, "Excel Workbook (*.xlsx)", , True Works like a charm when using a predefined query in Access, named sql_File. But, I...

View Article

Help removing an item from a combobox.

Hi I have the following code, that puts all names from the name manager into a combo box and removes duplicates and other certain phrases, in this case "CutOffTesting!_FilterD". I want to remove/ignore...

View Article


ConditionalFormat in VBA

I want to color the background of a text box, in a continuous form, based on the color codes stored in the text box itself. I know ConditionalFormat is the only way, as this is a continuous form How...

View Article

Image may be NSFW.
Clik here to view.

Error on update of recordset

All of a sudden (and after a Windows update) I get the following error when I try to Update. Otherwise the program works fine. I use Access 365 and SQl Express The Windows update info is Will try to...

View Article


Do until Loop Problem with VBA

For the first time I encountered an error while using Do until loop on a simple database but on the more complex database its working okay , its very embarrassing to have such issues sure. Where do I...

View Article

Delay in Alt+F11

I need some confirmations on bellow case. I have an accdb database with 212 forms, 72 modules, 12 class modules & 51 reports. This database is used for developing and an accde is distributed for...

View Article

Is There a Way to Copy a Linked Image to The Clipboard From a Form Linked...

Hi folks, this concerns a form, but I imagine involves VBA or using APIs, so I've posted it here. Please let me know if there is a simpler solution. Does anyone know if there is a way to simply...

View Article
Browsing latest articles
Browse All 21 View Live