Search results

  1. C

    Populate the name of the active control on focus in a form.

    I get it but like I mentioned, if there is adjustment to do, if can done via the table instead of the need to release a new front end.
  2. C

    Populate the name of the active control on focus in a form.

    Right but I want to display an hint by using a dlookup from a table (see my attachment). In the futur, if there is changes in the hint, they can simply change in the table without the need to throw out a new version of the front end.
  3. C

    Populate the name of the active control on focus in a form.

    Hi, I have attached an example of what I am trying to achieve. If you open the "client_subfrm", and click on any field, the "Hint" will lookup in the table for hint, but if you open the main form which is supplier_frm, it won't work. Can you take a look. Thanks
  4. C

    Populate the name of the active control on focus in a form.

    Thanks this works, but I forgot to mention that the field is in a subform. The code works when I open the subform by itself but when its in a form as subform, the active capture the form as active form, so it doesnt work.
  5. C

    Populate the name of the active control on focus in a form.

    Hi, Nope it does not. I get error message: The expression you entered has a function containing the wrong number of arguments. Thanks
  6. C

    Populate the name of the active control on focus in a form.

    In a continuous form, I can write: [control].[Form]![field name] then it will populate that field. On a single form, I have multiple field on the firm. I want the form to prompt the name of the field I am currently in. Once I go to another field, it will prompt the name of the field. Example...
  7. C

    Populate the name of the active control on focus in a form.

    Yes, but I have to set the function to populate the field name on each of the field. Isn’t there an event on the form itself that detects each time we move between field? Thanks
  8. C

    Populate the name of the active control on focus in a form.

    Hi, I have a form with many field and I would like to know if it's possible to populate the name of that field once we click on that field? Is there any fire event that capture each time we navigate through different field? Thanks
  9. C

    Best way to design table for (gender & province)

    The number of male and female per province. Province is already predetermined. Thanks
  10. C

    Best way to design table for (gender & province)

    Hi, I need to reproduce a table as per below and I would like some feedback on how to design such table? Province of Employment | Participating employees | Male | Female BC AB SK MB ON QC NB NS NL PE Federal I'm thinking 2 tables: The first one with 12 columns, one for each province + PK id...
  11. C

    Change all label tag property using loop?

    Thank you very much!!! This saves me tons of time!!
  12. C

    Change all label tag property using loop?

    So now, I changed the code to the following to target the form directly: Public Function fncChangeTag() Dim aO As AccessObject Dim fm As Access.Form Dim sf As Access.Form Dim ct As Access.Control 'For Each aO In CurrentProject.AllForms ' If aO.Name = sForm Then...
  13. C

    Change all label tag property using loop?

    I was able to run the function, but now, after close it and reopen, I can't run it anymore. It says variable not define. Is there a way to decompile Access to reset all memory in the database? Looks like something its messing with my database now.
  14. C

    Change all label tag property using loop?

    Not really, I have about 15 subform with at least 15 fields on each, thats about 225 to manually do them. I won't do it manually ;)
  15. C

    Change all label tag property using loop?

    All the form are closed and I just execute within the Immediate Windows. Call fncChangeTag("pdo_prod_reg_info_rrsp_subfrm") I also added the msgbox at the end of the function to ensure it's completed properly, the prompt does appear. I went back to pdo_prod_reg_info_rrsp_subfrm, right click...
  16. C

    Change all label tag property using loop?

    The debug.print does give the right Label name and it's caption, but it does not change the Tag property of that Label. After executing, I went into design mode of that subform, and the Tag for the label is still blank. Thanks
  17. C

    Change all label tag property using loop?

    I execute within Immediate Windows, went back to the design form of the subform, the label associated to the field still has empty tag? Thanks
  18. C

    Change all label tag property using loop?

    Tried that as well, not working. Thanks
  19. C

    Change all label tag property using loop?

    Yes, I add a command button on that subform to only create the tag within that subform. Thanks
  20. C

    Change all label tag property using loop?

    Hi, I added in my subform about 20 fields, and I want to change the tag property of that label to match the name of it's field. Is there a way to do it via a code instead of manually doing it one by one? Here is what I use but doesnt seems to work: Dim c As Access.Control For Each c In...
Back
Top Bottom