L
ldiaz
hi all..
here is my question..
I have a subform where I select the product that I want to buy,,(This a
Purchase Form) the problem is here..
when I change the price in the product source and if after of the change I
open a made form the previous price dissapear.
anybody know how to keep the previous prices in all Previous Order??
I have attached all staments that the ProductField combobox contain in the
subform..
thanks..
""""ROW SOURCE""""
SELECT Products.ProductID, Products.ProductName, Products.Description,
Products.UnitPriceDLLs, Products.UnitPricePesos, Products.Active FROM
Categories INNER JOIN Products ON Categories.CategoryID=Products.CategoryID
WHERE (((Products.Active)=Yes));
"""Double Click """"
________________________________________________________________
Private Sub ProductID_DblClick(Cancel As Integer)
Dim strMsg As String, strTitle As String
Dim intStyle As Integer
Dim strDocName As String
Dim strLinkCriteria As String
If IsNull(Me![ProductID]) Then
MsgBox "<< Select a Supplier whereof want to see more Information >> ",
vbInformation, "Select a Supplier !!"
Me![ProductID].SetFocus
Else
strDocName = "ProductsForm"
strLinkCriteria = "[ProductName]= """ & Me![ProductID].Column(1) & """"
DoCmd.OpenForm strDocName, , , strLinkCriteria
End If
End Sub
____________________________________________________________
""AFTER UPDATE"""
Private Sub ProductID_AfterUpdate()
Description = ProductID.Column(2)
UnitPriceDLLs = ProductID.Column(3)
UnitPricePesos = ProductID.Column(4)
End Sub
____________________________________________________________
here is my question..
I have a subform where I select the product that I want to buy,,(This a
Purchase Form) the problem is here..
when I change the price in the product source and if after of the change I
open a made form the previous price dissapear.
anybody know how to keep the previous prices in all Previous Order??
I have attached all staments that the ProductField combobox contain in the
subform..
thanks..
""""ROW SOURCE""""
SELECT Products.ProductID, Products.ProductName, Products.Description,
Products.UnitPriceDLLs, Products.UnitPricePesos, Products.Active FROM
Categories INNER JOIN Products ON Categories.CategoryID=Products.CategoryID
WHERE (((Products.Active)=Yes));
"""Double Click """"
________________________________________________________________
Private Sub ProductID_DblClick(Cancel As Integer)
Dim strMsg As String, strTitle As String
Dim intStyle As Integer
Dim strDocName As String
Dim strLinkCriteria As String
If IsNull(Me![ProductID]) Then
MsgBox "<< Select a Supplier whereof want to see more Information >> ",
vbInformation, "Select a Supplier !!"
Me![ProductID].SetFocus
Else
strDocName = "ProductsForm"
strLinkCriteria = "[ProductName]= """ & Me![ProductID].Column(1) & """"
DoCmd.OpenForm strDocName, , , strLinkCriteria
End If
End Sub
____________________________________________________________
""AFTER UPDATE"""
Private Sub ProductID_AfterUpdate()
Description = ProductID.Column(2)
UnitPriceDLLs = ProductID.Column(3)
UnitPricePesos = ProductID.Column(4)
End Sub
____________________________________________________________