Search results

  1. A

    HELP! Module Error-

    Thanks for your suggestion. Unfortunately, after importing all objects, the Problem Form is listed in the Form section, however, when I try to open it to display or design mode, I recieve a message: "The Microsoft Jet database Engine could not find object Problem Form..." In the VB Editor, the...
  2. A

    HELP! Module Error-

    Help- I think I have messed up something seriously because I can no longer edit a form. This is what happened... I started some code for a form button and I closed the VBA Editor without saving the code... I was asked to save Module1, but because I had so much open at the time, I had...
  3. A

    Setting Form's RecordSource with Macro

    Thanks for the suggestion, but I can't get it to work...??? I programmed the "On Load", but then I open the form, it still opens with the old recordsource...
  4. A

    Setting Form's RecordSource with Macro

    I am trying to set a form's Recordsource with a macro. Based on the user's input on an input form, clicking a button opens a 2nd form whose recordsource is determined by in the input of the 1st form. I have a macro that basically says, if checkbox1 value is -1, setvalue of...
  5. A

    Changing Calc Field in a Query with VBA?

    Calculation Here is the main calculation. How would this be written in VBA? Or as a function in a module? Calculation: IIf([CPR]<[Min] And...
  6. A

    Changing Calc Field in a Query with VBA?

    Thanks! That is a very good suggestion. My only concern is that the main calculation is already a long string of iif statements. Is there a limit on how long an iif statement in a query can efficiently run? The second calc is not long and could be added to the main iif statement...
  7. A

    Changing Calc Field in a Query with VBA?

    clarification Actually, no. The calculation change would apply to all records in the query. On the input form, I'd want to have a checkbox for A-B and a checkbox for A+B. Which box that is check would determine which calc was in the query. Thanks for your response!
  8. A

    Changing Calc Field in a Query with VBA?

    I have a query that contains a field with a calculation (a long series of if...then) Forgive me if my terminology is not right. I would like to be able to change the calculation in that field depending upon user-input on a form. Here is an illustraion of what I would like to do: Take query...
  9. A

    Changing Query Fields with a Macro- Can it be done?

    I have a query that contains a field with a calculation (a long series of if...then) Forgive me if my terminology is not right. I would like to be able to change the calculation in that field depending upon user-input on a form. Here is an illustraion of what I would like to do: Take query...
Back
Top Bottom