Search results

  1. L

    Duplicates in Query result

    That's exactly right. What I usually do is start to open a report. Enter - Reporting Forms - Select a person"Rick Smith" is one I have been using the most for testing. - Select a week and a Day - Next. Once you hit Next the TempVars are assigned and you can go into the design view. They...
  2. L

    Duplicates in Query result

    Hi June7, Thanks for the help with this. So here is the query that I came up with. It does what I want, but I need to weed out the duplicates. Some actions can be both timed actions and accountable actions. SELECT UserID, WeekNumber, StandardAction AS [Standard Action], Index FROM...
  3. L

    Duplicates in Query result

    My file was too big to upload but I have a google drive link that has the whole project. If anyone can be of assistance, it would greatly be appreciated. Once you have the database and have any questions on what is actually needed, don't hesitate to ask. All the data in the database is...
  4. L

    Duplicates in Query result

    It has a lot of forms and reports
  5. L

    Duplicates in Query result

    Hi June7, Sorry, it has taken so long for me to get back. I had other things that came up. I'm trying to attack this issue again am willing to send you my database. It's all just made up information for testing purposes, but its 4MB and too big to upload here. Any other suggestions on how I...
  6. L

    Duplicates in Query result

    Hello, I need to create a form that shows all the actions that have been chosen for each week. I am hoping to have all the actions for the first week in the first column and a column for each week's number up to 12. The only thing in the week field will be an "X" if they have chosen that...
  7. L

    Hiding checkboxes depending on the value of another field.

    If I use VBA, whatever I program happens to all the checkboxes in the subform. The IIf statement was in one of the examples IIf([Field1]=[Field2],"R","") - was the example. I think conditional formatting is the way to go, just need a little help with the statement.
  8. L

    Hiding checkboxes depending on the value of another field.

    So if I used conditional formatting on the Tab1 field. It would look something like this. Please make any corrections needed for this statement. =IIf([Tab1] Is Not Null, "STCYes.disabled"and STCNo.disabled", "STCYes.enabled"and STCNo.enabled" ) Just guessing here.
  9. L

    Hiding checkboxes depending on the value of another field.

    Hi Guys, I just wanted to put this one out there again. I have daily forms for the week and they have actions that need to be marked off with checkboxes. Depending on the value of one of my other fields, I want to hide or lock a couple of checkboxes. If I could even gray them out or...
  10. L

    Scrollbar appears a record early

    I decided to just make the subform a little bigger and changing my record count. The scrollbar only shows up when I need it now. I'd rather have the extra space at the bottom instead of the scrollbar. Thanks for the help.
  11. L

    Scrollbar appears a record early

    I don't think it would matter if it was zero-based seeing as it is going by the height of the subform. It just shows up when there are just enough records to fill the box. I don't need it until there are more records than the box can hold. I am not familiar with how to turn on the scroll bar...
  12. L

    Scrollbar appears a record early

    Hi Guys, I have a subform that will increase in width when the number of records reaches 8. When it gets wider the scrollbar also appears. This problem is that I don't actually need it to get wider until the record count is 9, but the scrollbar appears at 8. If I change the VBA to accommodate...
  13. L

    Accessing and manipulating sub-form information with VBA

    I tried this, but it doesn't work, but I think something like this might. Maybe some pro's out there can help tweak this to work. If I can get it to work in one subform, then I should be able to get it to work in all of them. Private Sub StartTimeChallengeYes_Click() If...
  14. L

    Using an If statement for every record in a subform

    dogs - Thanks, but I don't think I can use this. My checkboxes are linked to tables and need to be visible and able to check and uncheck. Interesting stuff though. Maybe I can use it in the future. Thanks. Still gotta work through this problem.
  15. L

    Using an If statement for every record in a subform

    J7 - That is just the way my form is set up. My pointing system gives them achievement points just for checking the box. This is why I have to have a Yes and a No box. Not to mention I need the visual for the clients to see. Not sure why you keep questioning my design. My boss likes it.
  16. L

    Using an If statement for every record in a subform

    Yes, they are Checkboxes, which makes it hard to conditionally format them. Maybe I can loop through the records? Not sure how I would do that. I read somewhere about using "Expression is", but can't find a good format for the expression. IIf[Null]...
  17. L

    Using an If statement for every record in a subform

    I used the following code and It locked my field, but for whole subform, not each record. How would I go about doing this. If IsNull(Me.Tab1.Value) Then Me.StartTimeChallengeYes.Locked = True Me.StartTimeChallengeNo.Locked = True Else Me.StartTimeChallengeYes.Locked = False...
  18. L

    Accessing and manipulating sub-form information with VBA

    Hello again, I am working on a point system for items that are checked off in a form. I have five separate subforms within the one daily form and point totals on the bottom. What would be ideal is if when a checkbox is checked it adds one to the appropriate totals field. So here is some...
  19. L

    DLookup in VBA code

    Thanks, that did it.
  20. L

    DLookup in VBA code

    Hi Guys, I am working on a point system and made several queries to count items for the points. I tried this VBA code and am getting a syntax error. DLookup is a little different in the code than in access itself. Can anyone help me get this right. CountMonSTC = 21, CountMonStMeals = 9...
Back
Top Bottom