Search results

  1. R

    Using string as code

    I'm sorry everybody.... The code work. The error I was seeing is due another part of my code that occurred after I make changes to test. Sorry again :o
  2. R

    Using string as code

    Thanks Mr. B, but I tried and doesn't work. Access can't find the fild....
  3. R

    using string as code

    Hi everybody, I have a problem. I need to use a string as code, something like this: strFormName = "MyForm" strControlName = "MyControl" Form_strFormName!strControlName.Visible = False Is it possible? Someone already had to do this?
  4. R

    Using string as code

    Hi everybody, I have a problem. I need to search the name of a form into a table and use them to construct my code. Like this: strFormName = "MyForm" strButtonName = "MyButton" Form_strFormName!strButtonName.Visible = False And it need to make the button "MyButton" on the form "MyForm"...
  5. R

    Loop with SQL result

    Your code works, but I have another problem now I tested use your code Set db = CurrentDb() Set rst = db.OpenRecordset("MyTable") Instead "My Table" I put a SQL statement and works, but I would like put a querry and pass parameters. Like stored procedures in .NET Is...
  6. R

    Test for Unchecked Checkbox in a query

    Try make the code onClickEvent if not (chkReport1 or chkReport2 or chkReport3 or chkReport4) then 'will entry if all off check box is false MsgBox "Your Message" Exit sub endif it works to me
  7. R

    Loop with SQL result

    Tks HiTech it works perfectly! I think that this way is faster than work with forms, isn't is? Thanks again
  8. R

    Loop with SQL result

    hi, I'm new here and my english is not good (I'm sorry). However, I have a doubt that I can't resolve: I wanna make a "Loop" using the lines of a querry, but I don't wanna use a Form to do this because it is too slow. I like something like that: DomCmd.RunSql SQLstring For i...
Back
Top Bottom