C ChrisMore Member Local time Today, 23:17 Joined Jan 28, 2020 Messages 210 Feb 4, 2020 #21 jdraw said: Chris, Can you post your latest database with the revisions you have made? Click to expand... jdraw, I have attached the database. The 'Quantity_On_Hand_All_Products_Query' is the one with the custom function. Thanks for your help, Chris Attachments Inventory Database.zip Inventory Database.zip 172.5 KB · Views: 213
jdraw said: Chris, Can you post your latest database with the revisions you have made? Click to expand... jdraw, I have attached the database. The 'Quantity_On_Hand_All_Products_Query' is the one with the custom function. Thanks for your help, Chris
jdraw Super Moderator Staff member Local time Today, 18:17 Joined Jan 23, 2006 Messages 15,576 Feb 4, 2020 #22 Chris, Try this query. It's a modification to your Quantity_On_Hand_All_Products_Query Code: SELECT Products.Product_Code , OnHand(Product_Code) AS [On Hand Quantity] FROM Products; You need to call Allen Browne's OnHand function. That's what I was doing in the InvtyAllProds. Good luck
Chris, Try this query. It's a modification to your Quantity_On_Hand_All_Products_Query Code: SELECT Products.Product_Code , OnHand(Product_Code) AS [On Hand Quantity] FROM Products; You need to call Allen Browne's OnHand function. That's what I was doing in the InvtyAllProds. Good luck
C ChrisMore Member Local time Today, 23:17 Joined Jan 28, 2020 Messages 210 Feb 5, 2020 #23 jdraw said: Try this query. It's a modification to your Quantity_On_Hand_All_Products_Query Code: SELECT Products.Product_Code , OnHand(Product_Code) AS [On Hand Quantity] FROM Products; Click to expand... Thank you so much, jdraw, that has solved my problem. It looks to be a really simple solution as well. But, of course, it's only simple when you know. I can now progress with my project! Cheers, Chris
jdraw said: Try this query. It's a modification to your Quantity_On_Hand_All_Products_Query Code: SELECT Products.Product_Code , OnHand(Product_Code) AS [On Hand Quantity] FROM Products; Click to expand... Thank you so much, jdraw, that has solved my problem. It looks to be a really simple solution as well. But, of course, it's only simple when you know. I can now progress with my project! Cheers, Chris
jdraw Super Moderator Staff member Local time Today, 18:17 Joined Jan 23, 2006 Messages 15,576 Feb 5, 2020 #24 You are very welcome Chris. Happy to help. There are several articles in this link that may be useful or at least serve as reference as you proceed with database and vba.
You are very welcome Chris. Happy to help. There are several articles in this link that may be useful or at least serve as reference as you proceed with database and vba.