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 Mike Lewis 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. GHarmon1977

    VBScript to .accdb. Add attachment and update table.

    Heh .. How can I credit myself for my own answer!? [tongue]
  2. GHarmon1977

    VBScript to .accdb. Add attachment and update table.

    Found the solution @ http://msdn.microsoft.com/en-us/library/office/ff197396.aspx
  3. GHarmon1977

    Get the SQL Return Value from Stored Procedure

    Sorry man .. I'm no help with this. Typically any time I'm working with a SP, I already know what I'm looking for and can check the table in the database that's get'n updated to ensure that the SP worked. Might try this site: http://www.sqlteam.com/article/stored-procedures-returning-data
  4. GHarmon1977

    vbs runs by double clicking, freezes when run from task scheduler

    In the Scheduled Task window, in the "Start in:" text box, did you specify "cscript /nologo" ?? Dim objNetwork Set objNetwork = WScript.CreateObject("WScript.Network") strLocalDrive = "K:" strRemoteShare = "\\myServer\Map\Vol1" objNetwork.MapNetworkDrive strLocalDrive, strRemoteShare, False I...
  5. GHarmon1977

    Get the SQL Return Value from Stored Procedure

    myVar = cmdObj.Execute Msgbox = myVar
  6. GHarmon1977

    Adding list and report to a script

    In the "InputBox Option:" .. The "Next" verbiage should be deleted. I failed to delete it prior to clicking "Submit Post". My apologies.
  7. GHarmon1977

    Adding list and report to a script

    If it's a static list of machines, then creating an array would work. If the list of machines is dynamic (different all the time) then you're going to have to use an inputbox which will require manual interaction. Array Option: On Error Resume Next Dim arrComputers(2) arrComputers(0) =...
  8. GHarmon1977

    Get the SQL Return Value from Stored Procedure

    In the stored procedure, why not spool to a log file? Then read from the log file?
  9. GHarmon1977

    VBScript to .accdb. Add attachment and update table.

    I'm attempting to add an attachment to a MS Access 2010 database via VBScript. But, I do not know the proper syntax for the command, nor can I find it. .vbs file name: ms.vbs stored on C:from DOS: cscript /nologo C:\ms.vbs Problem Line: nRS.Fields("Attachments").Value = "C:\ms.txt" What is...

Part and Inventory Search

Back
Top