Search results

  1. K

    Replacing a value in a combo box

    Problem solved by a fix on the report. Thank you both for your help. :)
  2. K

    Dynamically fill a text box on a report

    Huzzah! Again, I say, Huzzah! Thank you both for your help. Problem Solved. :)
  3. K

    Dynamically fill a text box on a report

    Oops, OK, upon closer inspection, do you mean to put that code into the control source of combo box on the form? The one that the report uses? If so, then disregard my previous post, I'll try this. However, I'm concerned this will pass on a value "All" to the query, which will make it not work.
  4. K

    Dynamically fill a text box on a report

    OK, tried this: =IIf(isnull([Forms]![FISReports]![Status],"All",[Forms]![FISReports]![Status]) got a "wrong number or arguments" error So, I thought it was missing a parenthesis. =IIf(isnull([Forms]![FISReports]![Status],"All",[Forms]![FISReports]![Status])) No, same error. :( Ok, maybe...
  5. K

    Replacing a value in a combo box

    The problem is in the control source, I had this line: = [Forms]![FISReports]![Status] I changed it to this: =IIf([Forms]![FISReports]![Status]="","All",[Forms]![FISReports]![Status]) But, it still behaves the same. If I leave a blank value on the form, it does not populate the word "All"...
  6. K

    Replacing a value in a combo box

    I'm trying to figure out something for this thread. Basically, I have a form that has some combo boxes where you make some selections. You then click a button (on the same form) that launches a report that returns data based on the choices you made in your combo boxes. On the report I have it...
  7. K

    Dynamically fill a text box on a report

    Hey! Nice! Thanks. Now, if you want to help me w/ a slight complication. One of the options the user has is to leave the field blank. How do I make it so that a blank field on the form will cause the word "All" to appear in the report text? Thanks again. :)
  8. K

    Opening a report for choosen date range

    There may be a better/easier way, as I've learned access backwards (from a user perspective, so I don't know code)... But I had the same problem. Using a lot of help from these forums, instead of vB code, I used a query: Then, have the report use the query as its control source. My query had...
  9. K

    Dynamically fill a text box on a report

    OK, I put this in the control source field for the textbox on the report: Applies to: &[Forms]![FISReports]![Status] and I get the error message: "Syntax error in query expression" FYI, from what you suggested, jtvcs, I put the name of the form supplying the dynamic variable in the 2nd...
  10. K

    Dynamically fill a text box on a report

    OK, I call a report, RSR, from form FISReports. On the form, you can choose the date range (not optional), a specific individual ("BA", optional), and the status (optoinal) of the projects you want to report on. The button that runs the report has the following code to filters the optional...
  11. K

    Autonumber reset

    Yeah, I had to wipe the db, unbreak the links then save the autonumber field as something else, then swap it back and that worked. Fortunately, it is still in test mode so I didn't lose any data of value. Thanks Pat. :)
  12. K

    Autonumber reset

    In Access 97, is there an easy way to reset an autocounter? Or, maybe, more generally speaking, is there a way to "reset" your database? Meaning, I've done all my testing and I want to clear the data, reset counters, etc... Is there a simple command for this? I've looked around some and not...
  13. K

    Counts not counting the field that I'm asking it to

    FYI, Elana, your suggestion, now that I'm 3 months older in my Access education, worked like a CHARM! :)
  14. K

    Breaking and Totaling under a group

    I'm w/ David. This may help me as well. *waits w/ anticipation*
  15. K

    'Run Time error 2015'

    DQM, there's not much code there: ----- Private Sub FISIFCommentE_Enter() DoCmd.GoToRecord , , acLast End Sub ----- So, "FISIFCommentE" is called (source object is FISIFCommentRO) and it tries to go to the last record, BUT, there are no records so I get the 2015 error. This is the instance...
  16. K

    'Run Time error 2015'

    OK, I get this error in 2 different circumstances (so far) in some of my various forms. That said, I wouldn't be surprised if they are fixed the same way or have the same root cause. Circumstance 1 I have a form w/ a combo box and buttons. You select the person who's records you want from the...
  17. K

    2 forms, 1 subform... need help loading the correct subform data

    *sighs* No, the name of the textbox is "SRNumb", so, that's not the issue. I think at this point, I'll just do it the less-pretty-but-I-know-it-will-work-this-way way. Thanks for the help everyone. I am doing some training on Access next month, so hopefully, I'll get I can reexamine the...
  18. K

    2 forms, 1 subform... need help loading the correct subform data

    Ah! Sweet progress! It is not a stupid question! You are right, I was just adding it into the properties line, not as an event procedure. I have now added it as you laid out, but I get this error: ----- Run-time error '2448': You can't assign a value to this object ----- When I hit 'debug'...
  19. K

    2 forms, 1 subform... need help loading the correct subform data

    Pat, I want the form to be add only. But, I did try what you suggesting and it didn't change anything. Also, for the subform, I followed your suggested and removed the Me.OpenArgs from the field data default and put this... Me.SRNumb = Eval("Forms!" & Me.OpenArgs & "!SRNumb") ...in the...
  20. K

    2 forms, 1 subform... need help loading the correct subform data

    Still no success. :( Let me review, though, if I can't get it right w/ Pat's help, I'm probably beyond hope. I have a form, FSREdit. It has a field, SRNum, which has a control SRNum (yes, I've learned my lesson long ago about smarter naming conventions :), but it was too late to rework these...
Top Bottom