Recent content by lg5050

  1. L

    How to save a Formula in a Access form

    I am going to send a attachment so you can understand. I created a table and a form. In the US Weight field I enter 80000 and I have a formula in CA Weight Field which would be =[Weight] * 0.4536. So if I enter that 80000 in US field it should calculate the field for me. How do I do that In...
  2. L

    How to save a Formula in a Access form

    im not sure i have never used that before can you please help me on that.
  3. L

    How to save a Formula in a Access form

    I'm not sure about the record source. I don't know how to do that. I basically need every time i type in a number in the US Weight field it makes this formula =[Weight] * 0.4536 in the CA Weight Field.
  4. L

    How to save a Formula in a Access form

    Hi, I put the formula in the Text box field in the control source in the property's tool box and i don't know if it will save that calculation to the table. I was wondering if i can do VBA code to save the the calculation in the table. Please help me out!!! I have a field called CA Weigt and i...
  5. L

    Add vba in a table

    I have an table and i have a form. On the form i don't have a textbox and on the table i have a field called CAFlag. Is it possiable that i can make the table have an Y or N if CALine field on form is not null in vba. Please help.:confused:
  6. L

    Adding to a Access Form in VBA

    Yeah i notice it too and i got it to work perfectly. Thanks a lot.
  7. L

    Adding to a Access Form in VBA

    ok thank you.
  8. L

    Adding to a Access Form in VBA

    Here is the database i tryed it and it don't work. Is there something i doing wrong.
  9. L

    Adding to a Access Form in VBA

    No i try that and it did the same thing. It did nothing. I'm putting it in the LostFocus event is that right???
  10. L

    Adding to a Access Form in VBA

    i have a form in access 2010 and i have a text box called USLINE and other one called USOFlag and i want the USLINE field to do like if it's is not null then it is a Y else N i try to do it in the LostFocus function but i cant get it to work Please help me on this!!!!!:confused: Here is the the...
  11. L

    Adding a Y or N to a field if it's Not null in Access 2010

    ok...i have a field called USLine and if i use that code for the USoFlag showing in the picture that show work for the field USLine.
  12. L

    Adding a Y or N to a field if it's Not null in Access 2010

    Hi, i'm trying to figure out how to make this two fields in my form to say Y or N if the field is Not Null. Like if the field is not null = Y Else = N for the two fields. I have a picture to show what i'm talking about. Please help!!:confused:
  13. L

    copy a record as a new record in vba

    Ok i add the code to the table and it copied it but i get an error message which i will have a image to show what it is. The code that i used was: Private Sub cmdDuplicate_Click() On Error GoTo Err_cmdDuplicate_Click DoCmd.RunCommand acCmdSelectRecord DoCmd.RunCommand acCmdCopy...
  14. L

    copy a record as a new record in vba

    Hi, i am trying to copy a record as new record in vba in access so i make a button for the user so that they can copy a record each time and change a certain field if they wanted. How would i do that.
  15. L

    How to do vba code in a access table

    Yes you are correct. When i do that like if i have 7.56 it would be a whole number and i don't want that. Is there any else that i can do to solve this problem.
Back
Top Bottom