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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MontyBurns

    Automatically updating Excel spreadsheet and Outlook from Access.

    i'd probably add a macro to the xls file which ran on opening the file, which gets the data from the Access DB and updates the spreadsheet, rather than pushing data into the spreadsheet from the Access DB. Saying that, I have found documentation on the Excel object model etc very hard to find...
  2. MontyBurns

    updating subform on filter

    Hi, I haven't been using Access for a few months so I imagine what i'm asking is really basic, but I can't seem to figure it out all the same. I have a main form with a subform, and also a separate filter form. The filter form opens the main form with a filter based on the subform (maybe the...
  3. MontyBurns

    iterating thru all combos on page and getting selected text

    ta muchly, Jemminger. Monty
  4. MontyBurns

    iterating thru all combos on page and getting selected text

    thanks for the tips. I've never really known how to debug JS apart from using alert etc. It tends tp p!ss me off when I choose to debug, enter Interdev and then not know what i'm doing! It also p!sses me off that when you close that instance of Interdev it closes the browser window that you...
  5. MontyBurns

    iterating thru all combos on page and getting selected text

    i've managed to figure it out myself - it doesn't look too pretty, but it works! combos(counter).options[combos(counter).selectedIndex].text Thanks for putting me on the right road Max. Monty
  6. MontyBurns

    iterating thru all combos on page and getting selected text

    Max - i'm getting the following error: 'options' is null or not an object Any ideas? Thanks for the reply, Monty
  7. MontyBurns

    iterating thru all combos on page and getting selected text

    Hi, I have some combos which are being dynamically added to the page (i.e. multiple dependent combos) and I never know how many might be on the page. All is working fine, except I need to get the actual text of each selected option, for each combo that exists on the page. I'm almost there - I...
  8. MontyBurns

    how can a subform reference the correct instance of parent form?

    thanks. Finally found a good article on managing multiple instances of forms. Haven't applied any of it as yet, but it looks like it should help. http://users.bigpond.net.au/abrowne1/ser-35.html Burns
  9. MontyBurns

    how can a subform reference the correct instance of parent form?

    Hi, I have a subform (frmSubFiles) with some code which does a recordcount and updates a txtbox on the parent form (frmIFLR). Private Sub Form_Current() Dim intIFLRid As Long If Not IsNull(Forms!frmIFLR.IFLRid) Then intIFLRid = Forms!frmIFLR.IFLRid Else...
  10. MontyBurns

    multiple instances of form - how to reference each instance

    how embarrassing. I have answered my own question... It was due to me declaring the form instance variable as Private (Dim-ing it) rather than Public, in a Module. Doh. I do have a problem which is pretty much spot on to what my initial question was, but i'll do another post. Burns
  11. MontyBurns

    multiple instances of form - how to reference each instance

    I seem to be (almost) answering my own question here - apologies. I seem to have narrowed the problem down to Access 2k. Even this simple code on a fresh form with one command button works in 97, and yet doesn't work with 2k. Private Sub Command0_Click() Dim frmTest As New Form_frmTest Set...
  12. MontyBurns

    multiple instances of form - how to reference each instance

    sorry, that was actually the Form_Current event which is firing on the subform, not OnOpen. Burns
  13. MontyBurns

    multiple instances of form - how to reference each instance

    Hi, I know how easy it is to open another instance of the current form, but... I have a subform on my form, which in it's OnOpen event fires some code to update a textbox on the parent form (recordcount). How do I code so the OnOpen code in the subform knows which instance of the parent form...
  14. MontyBurns

    selecting recs where field1 text is contained in field2

    Hi, I need to return only those records where the contents of field1 is contained in field2. Eg. Field1 1234 Field2 \\svr\share\folder\1234.pdf It'll be something like: SELECT * FROM tblMyTable WHERE Field2 Like *Field1* But this doesn't work. Any ideas anyone? Thanks, Burns
  15. MontyBurns

    Synchronising 2 copies of same DB

    Hi, A bit of an urgent one unfortunately... 10 days ago I released a new version of a frontend DB, and forgot to update the linked-table links. The copy of the backend DB I was using for development was very much out of date. This means that an out of date copy of the DB has been receiving...
  16. MontyBurns

    mandatory field on subform - possible?

    thanks for all your suggestions Jay, I really appreciate your time. Unfortunately, due to the generic nature of the DB etc, neither of these solutions will be possible. I did think this was going to be difficult, so 'they' do know that it may not be possible. Just had a thought though: if I...
  17. MontyBurns

    mandatory field on subform - possible?

    don't know if I made that clear - you can't actually get into any of the subforms if I put this code behind the main form: Private Sub Form_BeforeUpdate(Cancel As Integer) Dim intSubPractice As Integer intSubPractice = Me.Form![frmPracticeSubGroup]![cbSubpractice] If intSubPractice =...
  18. MontyBurns

    mandatory field on subform - possible?

    thanks Jay. It seems it's not so simple though. There are loads of subforms on the main form, and each time you try to enter any of them, the main forms BeforeUpdate event fires and cancels the action. Not sure where to go now - any ideas anyone? Thanks, Burns
  19. MontyBurns

    working with both 97 +2000 dbs

    i'm getting the error: "The command line you used to start Microsoft Access contains an option that Microsoft Access doesn't recognize Exit and restart Microsoft Access using valid command-line options" Then once Access 97 starts, I get another error: "Microsoft Access can't...
  20. MontyBurns

    mandatory field on subform - possible?

    apologies, I had to leave this alone for a while. I'm having trouble stopping the user from navigating back to the previous record. I'm using the main forms AfterInsert event but it still saves the rec and moves to the prev rec. Here's my code: Private Sub Form_AfterInsert()...

Part and Inventory Search

Back
Top