Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by toptenor

  1. toptenor

    Is there a way around not being able to filter on measures?

    Thanks Steve, We already know this method - just get fed up with writing endless variables and wondered if there was another way around it! Jon Meredith (toptenor)
  2. toptenor

    Is there a way around not being able to filter on measures?

    I work for local government. We place a number of measures within a report, user-defined, to capture such things as minimum start dates where the same person has multiple start dates, or if a Service User (SU) has had a care plan (CP) copied to them for a number seperate transactions. For this...
  3. toptenor

    Looping through optiongroups to pick up option values.

    Thats it! Many, many thanks. It worked when I set the forst Dim statement to "=OptionGroup" rather than "OptionButton" and I had to take out the ".OptionValue" in the IIf statement. (See my previous comments about the array returning option values) I am now off to bed and won't be waking at 3...
  4. toptenor

    Looping through optiongroups to pick up option values.

    Looking at this more closely, when I mouse over the entries in the Array in debug mode, they show entires like "optgrpWhiteGirl1 = 4" where the last numeral (in this case the "4" is the optionvalue that is in the optiongroup on the form. How then do I assign that "4" into the "If, Then"...
  5. toptenor

    Looping through optiongroups to pick up option values.

    That is still breaking on the line "ChangeableLabels = Array(optgrpWhiteGirl1, ..."with an error message of "Type Mismatch" (Runtime error 13) Can you begin to see the problems I've had with this!!!
  6. toptenor

    Looping through optiongroups to pick up option values.

    Thanks Golom and Roy, Unfortunately neither of your suggested methods are working! Golom's is nearest (sorry Roy) as now the entries in the array are showing values when I mouse over them in debug mode. But despite trying all sorts, I cannot get those values to work in the "If, Then, Else...
  7. toptenor

    Looping through optiongroups to pick up option values.

    Many thanks for that. I can understand the part about the Lower Bound and Upper Bound, but (sorry to be so thick!) how do I get the code to "see" the controls so it can act on them?
  8. toptenor

    Looping through optiongroups to pick up option values.

    Help! I have a form with eight optiongroups and want to loop through them to pick up the optionvalue of each so I can change their bordercolor - if an optionvalue >0 to black, and if no optionvalue (ie =0) to red so the user knows they must tick a box within that optiongroup. The form is...

Part and Inventory Search

Back
Top