Search results

  1. H

    Solved Simulate a Progress Bar on a Continuous Form

    All contributer, thanks for your time. Got it. See my post #6.
  2. H

    Solved Simulate a Progress Bar on a Continuous Form

    @The_Doc_Man , I started thinking about a method bit like you described, but got a bit confused as I'm aiming to display the 'progress' visual on a continuous form. Simple on a single form but I could not get it to work on a continuous form. @theDBguy 's technique worked fine. I just might...
  3. H

    Solved Simulate a Progress Bar on a Continuous Form

    @theDBguy , worked fine. Thanks for the prompt response. I continue......
  4. H

    Solved Simulate a Progress Bar on a Continuous Form

    @theDBguy , never thought if that!. Will give it a go.
  5. H

    Solved Simulate a Progress Bar on a Continuous Form

    Friends, I have a continuous form, a bound control 'PercentProgress' into which the user enters a value to represent their progress with the task & an unbound textbox 'txtProgress' into which I wish to populate some kind of progress bar to visualise the task progress. I have simulated this with...
  6. H

    Solved Whats wrong with my UserRights Logic?

    @The_Doc_Man , yes i agree. Sometimes it may be tempting to invest a disproportionate amount of time into some 'ideal' routine that really does not add significantly to the project. My 'issue' became a somewhat technical issue as i could not figure out how to do what i wished via a public...
  7. H

    Solved Whats wrong with my UserRights Logic?

    @Gasman, i'd come to the same conclusion. If have to pass in the control name to the function, then i may as well just add one line of code to each subform to hide the control! I just thought there should be a smarter way. Cheers & you confirmed my thoughts.
  8. H

    Solved Whats wrong with my UserRights Logic?

    @Gasman, i know the table well. My issue is that i refer to this module from multiple forms. The 'bttnDelete' routine is on each subform only. Id prefer to pass the control name as a variable. Its simple to disable the control on each form load event of the subform, but i was trying to figure...
  9. H

    Solved Whats wrong with my UserRights Logic?

    @The_Doc_Man , Yes I could adapt an approach as you suggested & had thought about a technique similar to what you described. But, for now, I've added a one line of code to the on open event of each subform to hide the 'bttnDelete' control. This is easy, but my goal was to try and not repeat any...
  10. H

    Solved Whats wrong with my UserRights Logic?

    @CJ_London my dilemma is that my code as in post #8 is in a stand alone module. I have 2 parent forms that use this code on the formOpen event to set up the user rights of each main form. Within each main form are several tabbed subforms. Each of these also uses the same code on their form...
  11. H

    Solved Whats wrong with my UserRights Logic?

    @CJ_London , thanks. Got that bit I think, but This bit cdoesnt work, If IsSubform(frm) Then frm.BttnDelete.Enabled = False ' That is to disable the 'BttnDelete' controls on subform What I aim to do is disable the 'BttnDelete' control on each subform when Case is "1". I think I'm referencing...
  12. H

    Solved Whats wrong with my UserRights Logic?

    So, if I may, I have one more question. On each subform is a button 'BttnDelete' that runs a deletion module. I wish to disable this for certain users. The 'BttnDelete' control is not on the mainform as I do not wish the user to be able to delete the parent record. I thought I'd check whether...
  13. H

    Solved Whats wrong with my UserRights Logic?

    Well, that was pretty simple! I've learn't about form objects. Cool. Thanks to all whom contributed.
  14. H

    Solved Whats wrong with my UserRights Logic?

    Friends, yes it works thanks. One question about; Call AssignUserRights(Form_FormName) I'd like to have formname provided by the system, that is me.Name. then concatenate as AssignUserRights("form_"&"me.Name") but I get an error when compiling. Won't accept a string...
  15. H

    Solved Whats wrong with my UserRights Logic?

    All, thanks for the prompt response. Will have a go and let you know. Cheers
  16. H

    Solved Whats wrong with my UserRights Logic?

    Hi, I have a mainform 'frmPersons' on it are a number of tabbed subforms. As an example one is called 'frmAddress_Subform, and the subform control is called 'SubfrmTab' to be original! My intention is to pass the form name to the below function to assign user rights. All works on the main...
  17. H

    Solved Problem with Rowsource in Combobox of Continuous Form.

    @arnelgp , I downloaded your demo & yes, I can work with this. Exactly what I meant. A clever work around. Thanks a lot.
  18. H

    Solved Problem with Rowsource in Combobox of Continuous Form.

    Gents, thanks for your input. Will have a go over the next couple of days & let you know how i get on.
  19. H

    Solved Problem with Rowsource in Combobox of Continuous Form.

    Gents, thanks for the prompt replies. I figured what @arnelgp deduced. @arnelgp do you know of a demo database that displays this technique? Appreciate your help as always.
  20. H

    Solved Problem with Rowsource in Combobox of Continuous Form.

    Friends, So I have a combobox 'ContactPurpose' on a bound continuous subform. I wish to populate the combobox with all records except when the user enters a new record, in which case I wish to restrict their selection to only 'Active' records. So, i have 2 select queries as below on the...
Top Bottom