Search results

  1. R

    Hide a Textbox When Combo is selected

    Try this: Private Sub Combo58_AfterUpdate() If Me.Combo58.Column(1) = "Cranks" Then Me.Text167.Visible = False 'Hide the first text box Else Me.Text167.Visible = True End If End Sub
  2. R

    VBA Code: Disable right click

    Thank you ByteMyzer. It worked !
  3. R

    VBA Code: Disable right click

    Hi all, I am using Access 2007 and I'd like to disable right clicks on forms through a VBA code (not from the Access menue or other). If someone could help, I'll be grateful even after the incarnation of my little soul. Thanks in advance :)
  4. R

    Access require a parameter value

    No solution worked, but I did in another way. Solution : totprecsql = "SELECT tbl_actualVal.[totalFTE], tbl_actualVal.[typeActual], tbl_actualVal.[averageFTE] " & _ "FROM tbl_actualVal" & _ " WHERE tbl_actualVal.[monthActual] = " & Me.perPrec & " AND tbl_actualVal.[yearActual] =...
  5. R

    Access require a parameter value

    Hi arnelgp, Yes, the spelling is correct. I tried you suggestion but still have the same problem. Thank you anyway.
  6. R

    Access require a parameter value

    Hi arnelgp, Yes it is a value in the field which i wish use a criteria.
  7. R

    Access require a parameter value

    Dear all :) I am using Access 2007. I am building a form, almost finished, but the last part sucks. I did a SELECT statement to bring a value based on several criterias but when I run it, it demands A PARAMETER VALUE. Here is the SELECT Statement : totprecsql = "SELECT...
  8. R

    Multiple DoCmd.Openform criteria

    Solution Private Sub lboActuals_DblClick(Cancel As Integer) Dim cond As String Dim cond1 As String Dim cond2 As String Dim cond3 As String cond = "idInitiative = " & Me.lboActuals.Column(0) cond1 = "typeActual = " & Me.lboActuals.Column(9) cond2 = "monthActual_tbl_actualComment = " &...
  9. R

    Multiple WHERE condition

    I just deleted the ORDER BY condition fsql = "SELECT [rsel_frm_viewInitiatives].[idInitiative] AS ID, [rsel_frm_viewInitiatives].[initiativeName] AS Name, [rsel_frm_viewInitiatives].[initiativeType] AS Type, [rsel_frm_viewInitiatives].[teamName] AS Team...
  10. R

    Multiple DoCmd.Openform criteria

    Hi, I don't think it's the same, because here it's a DoCmd.OpenForm and not an sql statment.. The issue is in this line: DoCmd.OpenForm "frm_initiativesDetails", , , cond, cond1, cond2, cond3
  11. R

    Multiple WHERE condition

    Thanks Bo.. and to all, It's solved ;)
  12. R

    Multiple DoCmd.Openform criteria

    Hi folks, I built this code to open a form based on 4 criterias but I have a problem in this line : DoCmd.OpenForm "frm_initiativesDetails", , , cond, cond1, cond2, cond3 When I do just one condition (cond for example) it works the message error is, I think it's a syntax error .. Full code ...
  13. R

    Multiple WHERE condition

    Thanks Cronk but it doesn't work :(
  14. R

    Multiple WHERE condition

    Hi Bob, It doesn't give error nor a program crash it just run the first condition (teamName)
  15. R

    Multiple WHERE condition

    Hi Cronk, It doesn't give error nor a program crash it just run the first condition (teamName)
  16. R

    Multiple WHERE condition

    Thansk JHB. It's a number but when i tried it it gave me this error :
  17. R

    Multiple WHERE condition

    Hi all, I'm trying to use a WHERE condition that holds two conditions I succeeded to execute the first condition (teamName) but when I add the second one it doesn't work. What I want to do is to add this condition to the same code : [rsel_frm_viewInitiatives].monthActual='" &...
  18. R

    Update a listbox based on two comboboxes values in another form

    Can I have your email ? Because the database excceds the 2MB
  19. R

    Update a listbox based on two comboboxes values in another form

    Not even with this.. I don't know what could be the reason :(
  20. R

    Update a listbox based on two comboboxes values in another form

    I'm really thnaking you arnelgp for your time but it still don't filter data ..
Back
Top Bottom