[AccessD] Query problem in VBA
Kaup, Chester
Chester_Kaup at kindermorgan.com
Mon Jan 8 08:30:58 CST 2018
The following query runs fine when executed from the design window or query list. When I try to run it from vba it complains about a missing parameter. When It runs in code is it not picking up the list box value? Thanks for any assistance.
SELECT PIH_Monthly_Allocated_Volumes.ProductionMonth, Sum(PIH_Monthly_Allocated_Volumes.Oil) AS SumOfOil INTO [tbl PIH Monthly Oil]
FROM PIH_Monthly_Allocated_Volumes
GROUP BY PIH_Monthly_Allocated_Volumes.ProductionMonth
HAVING (((PIH_Monthly_Allocated_Volumes.ProductionMonth)=[Forms]![Form1]![PIH_Date_List]));
More information about the AccessD
mailing list