Search results

  1. R

    Application-Defined or Object-Defined Error

    That worked (I think the other should have). Now let's see if it will keep on working :)
  2. R

    Application-Defined or Object-Defined Error

    On the main form. The excel file opens correctly but won't load the fields.
  3. R

    Application-Defined or Object-Defined Error

    Now this doesn't work again.
  4. R

    Application-Defined or Object-Defined Error

    Finally got this to work by importing the form with a working version from another copy of the db. I spent several hours on other aspects of the design and functionality of the form, so I was reluctant to do it this way. However the above code works the way I want it to. Now the question is...
  5. R

    Application-Defined or Object-Defined Error

    Something really weird is going on. This is Access 2003. I have a procedure that uploads from Access to Excel. The button is on the main form frmTransactions, but the information being uploaded is on a subform frmTransactionsQe. The subform control is ctlQeSites. I have a number of text...
  6. R

    Open form from double click on field

    Thanks again Bob - works perfectly!
  7. R

    Form and Age calculation

    I seem to recall somewhere that Microsoft forgot that 1900 wasn't a leap year. This meant that all calculations after 1900 are out by one day (unless they've fixed that): http://en.wikipedia.org/wiki/List_of_leap_years
  8. R

    Open form from double click on field

    I have a form frmTowerLog with a text box called txtFILENUMBER. When I double click on it this code fires (thanks to Paul's site): Private Sub txtFILENUMBER_DblClick(Cancel As Integer) DoCmd.OpenForm "frmTransactionsMain", , , "txtFILENUMBER = '" & Me.txtFILENUMBER & "'" End Sub However it...
  9. R

    Form is opening blank

    Thanks for the interest - it was the Visible property that was the culprit.
  10. R

    Form is opening blank

    Doh! and double doh! Boy do I feel dumb. Thanks for looking. That was supposed to be on the tab control. That explains why a new form worked too. I'm glad I posted the stripped version. Go Red Sox (if it can't be the Jays)
  11. R

    Form is opening blank

    :mad:A new problem has cropped up. My form is opening blank. I have tried compact and repair. I imported everything into a new database. I have checked the query to make sure it has data. I have checked the form's properties to make sure Data Entry is set to No on the main form AND the...
  12. R

    Linked form opening locked instead of disabled

    Thanks for this ..
  13. R

    Referencing a control on a subform on a Tab

    Eureka! :D:D:D:D:D:D:D:D:D I had a .Value that I didn't need on one of the fields being uploaded. I remembered from an earlier post of mine that you answered that it wasn't necessary. I took that out and it works like a charm. I can even download from Excel now thanks to the info from...
  14. R

    Referencing a control on a subform on a Tab

    I did that. And for good measure I did a restart.
  15. R

    Referencing a control on a subform on a Tab

    Anytime you're in Toronto pm me and we can get a coffee. Can I impose on you for one more question? I copied over the changes to the code, but Excel doesn't open now. I made sure the file is in the C:\I don't think anything has changed, but your eyes are better than mine: Private Sub...
  16. R

    Referencing a control on a subform on a Tab

    Thank you Bob. That was it. I should send you over to my relatives in Oregon for your favourite brew - tea, coffee, ale whatever. (Are you near Portland? - they are in Beaverton.) If you're ever in Toronto, I could treat you to a Tim Horton's coffee.
  17. R

    Referencing a control on a subform on a Tab

    Maybe you can spot something. I have stripped out the db, but left the code intact. I have commented out the fields that I eventually went to load (once I get this right).
  18. R

    Referencing a control on a subform on a Tab

    Yes - it is selected.
  19. R

    Referencing a control on a subform on a Tab

    I have also tried creating a new db and importing the objects as well as compact and repair db. WRT determining what line that is the problem, I am assuming it is the control reference, since Excel opens the way I expect it to. It's just that the data is not getting across to it. The error...
  20. R

    Referencing a control on a subform on a Tab

    Yes - the control name is ctlQeSites and the subform name is frmQeSites. After reading the example on your site and the other references in the forum I made sure the control and the subform had two different names. I did lie about the subform name - it is frmTransactionsQe. 2. If not using a...
Back
Top Bottom