• WSjaf90

    WSjaf90

    @wsjaf90

    Viewing 15 replies - 151 through 165 (of 176 total)
    Author
    Replies
    • in reply to: Create a word file (2000) #808813

      Is there a method of forcing Word to maximise at the time of opening the document? It seems to be a bit hit and miss as to how it starts.

      Also, how would I open a specific file, rather than creating a new one – I’m going to change the routine so that if the file exists it opens it, otherwise it creates a new file with the specified filename.

    • in reply to: Create a word file (2000) #808724

      Getting there…..
      one (hopefully) last question – using objDoc.SaveAs strFileName causes the file to be saved whether it already exists or not. Is there a switch that checks and prompts for a new filename if it already exists?

    • in reply to: Create a word file (2000) #808725

      Getting there…..
      one (hopefully) last question – using objDoc.SaveAs strFileName causes the file to be saved whether it already exists or not. Is there a switch that checks and prompts for a new filename if it already exists?

    • in reply to: Create a word file (2000) #808674

      Thanks Hans

      Does the As New have any significance in the first line as opposed to just As?

      I needed to be able to modify the file once I’d saved it, so used objWord.visible = true

      If I do this with the close and quit options left in, it obviously displays the document for a split second, then closes the doc, quits Word and returns to Access. Can I allow it to stay in Word until the changes have been made and word is quit manually before going back to Access?

      John

    • in reply to: Create a word file (2000) #808675

      Thanks Hans

      Does the As New have any significance in the first line as opposed to just As?

      I needed to be able to modify the file once I’d saved it, so used objWord.visible = true

      If I do this with the close and quit options left in, it obviously displays the document for a split second, then closes the doc, quits Word and returns to Access. Can I allow it to stay in Word until the changes have been made and word is quit manually before going back to Access?

      John

    • in reply to: AllowEdits in subforms on tabcontrols (2000) #796678

      Hans
      Thanks – it worked as you suggested.
      I know it’s sometime not a good idea to ask “why?” but why?
      At what stage is the form available to have all of it’s attributes altered?
      Any thought as to why I can set enabled to false for a particular subform but not allow me to set the allowedit option instead at the same point?
      I’m getting my head around things slowly, but sometimes it just smashes into that brick wall
      John

    • in reply to: AllowEdits in subforms on tabcontrols (2000) #796679

      Hans
      Thanks – it worked as you suggested.
      I know it’s sometime not a good idea to ask “why?” but why?
      At what stage is the form available to have all of it’s attributes altered?
      Any thought as to why I can set enabled to false for a particular subform but not allow me to set the allowedit option instead at the same point?
      I’m getting my head around things slowly, but sometimes it just smashes into that brick wall
      John

    • in reply to: AllowEdits in subforms on tabcontrols (2000) #796672

      How can I then switch them back on Hans?
      Is the code I am attempting to use correct?

      john

    • in reply to: AllowEdits in subforms on tabcontrols (2000) #796673

      How can I then switch them back on Hans?
      Is the code I am attempting to use correct?

      john

    • in reply to: Click on a tab in a tabcontrol (2000) #796648

      Thanks Mark
      Sometimes I guess it’s best not to ask why – just accept that it just does!

    • in reply to: Click on a tab in a tabcontrol (2000) #796649

      Thanks Mark
      Sometimes I guess it’s best not to ask why – just accept that it just does!

    • in reply to: Click on a tab in a tabcontrol (2000) #796548

      Excellent.
      I couldn’t think of any use for the on-click event in the page tab headers, so I’d presumed it had to be the tabcontrol event.
      Why “on-change” rather than “on-click”? Just curious about this
      john

    • in reply to: Click on a tab in a tabcontrol (2000) #796549

      Excellent.
      I couldn’t think of any use for the on-click event in the page tab headers, so I’d presumed it had to be the tabcontrol event.
      Why “on-change” rather than “on-click”? Just curious about this
      john

    • in reply to: Duplicate record with different key fields (Access 2000) #789519

      Excellent!!
      I didn’t realise that I could amend the data in this way – I had presumed that the pasteappend would have already saved (or attempted to save) the record.
      I’d started working through a long routine to copy the field values to variables, create a blank, then paste the variable back in ……tooooo long
      Thanks

    • in reply to: Duplicate record with different key fields (Access 2000) #789520

      Excellent!!
      I didn’t realise that I could amend the data in this way – I had presumed that the pasteappend would have already saved (or attempted to save) the record.
      I’d started working through a long routine to copy the field values to variables, create a blank, then paste the variable back in ……tooooo long
      Thanks

    Viewing 15 replies - 151 through 165 (of 176 total)