Skip to content
Advertisement

Tag: ms-access

Microsoft Access “User-defined type not defined”

When trying to run the following code, I’m getting an error when it hits Dim qdf As QueryDef saying User-defined type not defined I think it’s really weird because I have a backup of this same project in which not many changes were made after it which is working completely fine for this. I’ve tried to retrace my steps and

Modify a query recordset to complete information (MS Access)

im working in a project in Microsoft access to query the date, hour and a quantity of products by line of production. However, I need to display all of the 24 hours of production in a column but cannot do it since I don’t have records for the missing hours. I’m using Totals to sum the quantity of products produced.

MS-Access: Calculate Stock From 3 Tables

I was reading this post from StackOverFlow to adjust query to calculate stock from 3 tables. I have 3 tables tblItems, tblPurchase and tblSales. tblItems contains items information like below. Screenshots of my tables tblItems: tblPurchase: tblSales: And my expected result like below In query result items details will come from tblItems. Sum purchase quantity per item and sum sales

Calculate sum of duration SQL

I use the following sql to calculate the duration in the first query. CDate(TimeSerial(Val([EndTime])100,Val([EndTime]) Mod 100,0)-TimeSerial(Val([StartTime])100,Val([StartTime]) Mod 100,0))) AS …

Advertisement