Search results

  1. A

    Warning on Logout

    Thanks moke123 for your kind help,
  2. A

    Warning on Logout

    Hi all, I want to write a code that will track that if any form or report is opened or not when user click on the logout button on the Main form (Switchboard) and want to display the message box like this "Please close all the windows before longing out" please help me .
  3. A

    IF is not working on unbound form.

    If Me.Tran_Amt = Val(Me.Voucher_Amt) Then this wroks........... Thanks ALC & all of you for your kind support on this issue. Thanks & Best Regards
  4. A

    IF is not working on unbound form.

    Private Sub Tran_Amt_AfterUpdate() MsgBox "voucher amount is =" & Me.Voucher_Amt MsgBox "transaction amount is =" & Me.Tran_Amt If Me.Tran_Amt = Me.Voucher_Amt Then 'Do nothing Else: MsgBox "You have entered less then Voucher amount." End If End Sub i have try to put a message box right...
  5. A

    IF is not working on unbound form.

    Private Sub Tran_Amt_AfterUpdate() If Me.Tran_Amt = 1000 Then Else MsgBox "You have entered less then Voucher amount." End If End Sub working and this Private Sub Tran_Amt_AfterUpdate() If 1000 = Me.Voucher_Amt Then 'Do nothing Else: MsgBox "You have entered less then Voucher...
  6. A

    IF is not working on unbound form.

    Dear alc, So you have tried this and it also produces the problem? Code: Private Sub Tran_Amt_AfterUpdate() If 1000 = 1000 Then 'Do nothing Else: MsgBox "You have entered less then Voucher amount." Tran_Amount = Null End If End Sub If not then the logic IS correct and one or more...
  7. A

    IF is not working on unbound form.

    i have tried this but can't solved if condition is true or false results are the same.. MsgBox "You have entered less then Voucher amount." this will popup in both cases.
  8. A

    IF is not working on unbound form.

    dear ALC i have tried all these combination but the logic is correct. but i am unable to find the solution. please help me
  9. A

    IF is not working on unbound form.

    Textbox names are correct. and i remove the colon but condition is not working for example, Trans amt= 1000 voucher amt=1000 if trans_amt=voucher_amt then do nothing else msgbox"not equal" end if problem is when condition is true but if condition is giving wrong results on: when both amounts...
  10. A

    IF is not working on unbound form.

    Hi all, help needed! I am facing a problem that if is not working is not working on unbound form. code and sample file is attached. when transaction amt is equal to voucher amt then do nothing else msgbox but not working. Regards. Private Sub Tran_Amt_AfterUpdate() If Me.Tran_Amt =...
  11. A

    Backup issue (Export only few tables to a new file)

    WORKS Thanks.
  12. A

    Backup issue (Export only few tables to a new file)

    Hi, I am going to make a backup function to export some tables from my access database to another ms access file, i have searched google before and found this code to export all the table except systems tables containing "Msys" code is: Public Function fExportAllDBObjects() On Error Resume Next...
  13. A

    syntax error in string in expression run-time error '3077':

    rst.FindLast "User_Name = '" & txtUser & "'" I was making wrong reference in my code to the field, Login_History_ID instead of User_Name. now its working. i am very thankfull to Both pbaldy & sneuberg for helping me. regards. solved
  14. A

    syntax error in string in expression run-time error '3077':

    Login_History_ID is auto number ,but the txtUser is string value i.e "username" like "admin" on the form and in tbl_Login_History ref as "User_Name", if user name is numeric value like "123","786" then rst.FindLast "Login_History_ID = " & txtUser this code works fine but in my case where...
  15. A

    syntax error in string in expression run-time error '3077':

    can you explain please i am not advanced user of ms access.kindly suggest how to fix it. thanks
  16. A

    syntax error in string in expression run-time error '3077':

    Dear all, I have a logout button on main menu form that logout the current user close the main form and open the login form and edit the logout time in table login history table, but when i click on the button, this message appeared " syntax error in string in expression run-time error '3077': "...
  17. A

    data entry form for many to many relationship

    Thank you both for the suggestion ,This is the good idea and now i am going to making unbound form to achieve this..
  18. A

    data entry form for many to many relationship

    Hi all, I want to know that what is the best way to make the data entry form for many to many relationship tables without the sub-forms. i want to use single form for entering data into the multiple linked forms. thanks and regards.
  19. A

    Four Digit Machine code (Apps Activation)

    need help Please..........................
  20. A

    Four Digit Machine code (Apps Activation)

    Hi All, I want to know that how it can be possible if I give the copy of my demo database for 7 days to someone. After 7 days application will expire and an activation key required for the activation of application. What is the best way to get the unique activation code for the activation of...
Back
Top Bottom