Search results

  1. A

    sum creditors balance up to a specific date

    i need to create a query to find the balance of creditors with specific dates example 1/1/17 up to 31/1/17 customer A 1/1/17 €20 2/1/17 €25 31/1/17 €25 01/02/17 €100 what was the balance till 31/01/2017 of customer A? using offce 2016
  2. A

    Update table from a subform

    if table temporaryitems has records that are not already in items table then add them, else go and update them that's what i need
  3. A

    Update table from a subform

    Trying to update table "items" bases on the contents of table "temporaryitems" what i need to do i to go and check if first record on my subform called "temporaryitemsqrysub1" already exists then go and update in table "items" but if does not then go and add it in table "items", then got to...
  4. A

    Zero value currency control

    the control is textbox, now the stop is working everywhere except this point If [CUSTOMERNAMESEARCHFROMSALES2SUB]![PRICETYPE] = "PRICE1" Then If ITEMSQRYSALESSUB!PRICE1 = 0 Then Stop DoCmd.OpenForm "ZEROPRICEPOPUP" Else:
  5. A

    Zero value currency control

    if the value of price1 is 0.0001 then the code can be accepted, but not 0
  6. A

    Zero value currency control

    ok thanks for your help
  7. A

    Zero value currency control

    Copied and pasted the corrected code, replaced the part which you said it would be better, but.... still the specific part isnot working :)
  8. A

    Zero value currency control

    Private Sub ITEMCODE_AfterUpdate() Me.ITEMSQRYSALESSUB.Requery Me.ITEMCODESAVER = Me.ITEMCODE If Me.ITEMSQRYSALESSUB.Form.RecordsetClone.RecordCount = 0 Then MsgBox "NO ITEM FOUND" Me.ITEMCODE.SetFocus Me.ITEMCODE = Null Else: If Me.onepass = True Then If [ITEMSQRYSALESSUB]![PRICE1] = 0...
  9. A

    Zero value currency control

    If [CUSTOMERNAMESEARCHFROMSALES2SUB]![PRICETYPE] = "PRICE1" Then If Me.ITEMSQRYSALESSUB!PRICE1 = 0 Or IsNull(ITEMSQRYSALESSUB!PRICE1) Then DoCmd.OpenForm "ZEROPRICEPOPUP" Else: Me.PROS = [ITEMSQRYSALESSUB]![PRICE1] End If...
  10. A

    Zero value currency control

    the code is working only in a new button i create for this purpose strange thing is that if i place this code If Me.ITEMSQRYSALESSUB!PRICE1 = 0 Or IsNull(ITEMSQRYSALESSUB!PRICE1) Then DoCmd.OpenForm "ZEROPRICEPOPUP" Else: Me.PROS =...
  11. A

    Zero value currency control

    the original code is in the after update event of a text box. so there code before and after
  12. A

    Zero value currency control

    still nothing, Debug.Print "Value 1 - " & Me.ITEMSQRYSALESSUB Debug.Print "Value 2 - " & Me!ITEMSQRYSALESSUB!PRICE1 Debug.Print "Value 3 - " & ITEMSQRYSALESSUB!PRICE1 If Me.ITEMSQRYSALESSUB!PRICE1 = 0 Then DoCmd.OpenForm "ZEROPRICEPOPUP" Else: Me.PROS =...
  13. A

    Zero value currency control

    shoudl i change "value" with somethng else? here is the code again Debug.Print "Value: " & Me.ITEMSQRYSALESSUB If Me.ITEMSQRYSALESSUB!PRICE1 = 0 Then DoCmd.OpenForm "ZEROPRICEPOPUP"
  14. A

    Zero value currency control

    here is what i did: Debug.Print "Value: " & Me.ITEMSQRYSALESSUB If Me!ITEMSQRYSALESSUB!PRICE1 = 0 Or IsNull(ITEMSQRYSALESSUB!PRICE1) Then DoCmd.OpenForm "ZEROPRICEPOPUP"
  15. A

    Zero value currency control

    If you are talking about immediate, it's empty nothing inside after i press ctrl+g
  16. A

    Zero value currency control

    still not working :(
  17. A

    Zero value currency control

    i have a currency control where the value is "0.00". what is the if statement used to check if it's "0.00" to popup up a window. i tried this code but nothing happens If ITEMSQRYSALESSUB!PRICE1 = 0 Then DoCmd.OpenForm "ZEROPRICEPOPUP" Else:........ thanks
  18. A

    findfirst command error

    what i need to do: i have two records in table items called CH1 and CH2 when user types the code in itemcodesearch it should go find the code and tehn remove one item from the stock. your code worked fine the first time for both codes. after closing the form and opening again it din't do...
  19. A

    findfirst command error

    Only the first record changes
  20. A

    findfirst command error

    after closing and opening again nothing happenes any more no errors no nothing the stock goes to 0
Back
Top Bottom