ablettablet
New member
- Local time
- Today, 23:19
- Joined
- Jan 5, 2012
- Messages
- 9
Hello all .... blimey I've nearly done it, I've nearly created a database that will help everyone work together. What a steep learning curve. However this morning I've discovered a hitch! Bother!
I've based it on the Northwind example but have completely redesigned to fit with our needs here. The problem I have is we have a products table which includes cost and selling prices. We also have a customers orders table which lists the orders the customer has had, a user can click on a specific order, this loads the order form showing the products they had and the price they paid. But when we update the selling price on the products table it also updates the customers order. I don't want it to do this, but I don't know how to stop it. I've tried checking the VBA code and all that seems different is the GetListPrice function which I commented out as I couldn't make it work.
Function GetListPrice (lProductID As Long) As Currency
GetListPrice = (DLookupNumberWrapper("Name of selling price field in products table", "name of products table","[Product ID] = " & lProductID)
End Function
Please help, it's almost ready to go live with everyone this is our last sticking point. Any help is gratefully appreciated .....
Thanks
Vic
I've based it on the Northwind example but have completely redesigned to fit with our needs here. The problem I have is we have a products table which includes cost and selling prices. We also have a customers orders table which lists the orders the customer has had, a user can click on a specific order, this loads the order form showing the products they had and the price they paid. But when we update the selling price on the products table it also updates the customers order. I don't want it to do this, but I don't know how to stop it. I've tried checking the VBA code and all that seems different is the GetListPrice function which I commented out as I couldn't make it work.
Function GetListPrice (lProductID As Long) As Currency
GetListPrice = (DLookupNumberWrapper("Name of selling price field in products table", "name of products table","[Product ID] = " & lProductID)
End Function
Please help, it's almost ready to go live with everyone this is our last sticking point. Any help is gratefully appreciated .....

Thanks
Vic