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: *

  • Users: lr999
  • Order by date
  1. lr999

    Creating a text file automatically

    Hi I probably want to create a user friendly form with command buttons to clear the old data table and reload the new montly data and than have a command button to run the macro! Thanks
  2. lr999

    Creating a text file automatically

    Hi I probably want to create a user friendly form with command buttons to clear the old data table and reload the new montly data and than have a command button to run the macro! Thanks
  3. lr999

    Creating a text file automatically

    Hi I'm new to access, so bear with me I need to move an Excel file on a monthly basis into an Access table and than create a text file. I created a Macro to TransferSpreadsheet and TransferText commands based on a table. How is the best way to automate this procedure for user friendly monthly...
  4. lr999

    Snapshot button need a code for a variable to separate snapshot file

    Where the output name of the file is, which is 'script.snp' DoCmd.OutputTo acOutputReport, stDocName, acSnapshot, "L:\Hopes\UAT Management\Script Library\script.snp" thanks
  5. lr999

    Snapshot button need a code for a variable to separate snapshot file

    Hi I need to add a variable to the output snapshot file, to be able to print the name with a new 'step#', when the user press the 'snapshot' command button on the form. Never done this before, My code is: Private Sub PrintPDF_Click() On Error GoTo Err_PrintPDF_Click Dim stDocName As...
  6. lr999

    VBA sample code to use a control button to move a print doc to PDF

    Hi I tried the code, but I'm working in Access 2000, there is no PDF support, so acFormatPDF didn't work. Any other code samples?
  7. lr999

    VBA sample code to use a control button to move a print doc to PDF

    I need to use the same print button for PDF. the following is the print button code: Private Sub Print_Click() On Error GoTo Err_Print_button_Click Dim stDocName as String Dim stLinkCriteria As String stDocName = "Script" stLinkCriteria = "[ScriptID]=" &Me![ScriptID1]...
  8. lr999

    Export from an Access Form to Exel one record at a time

    Hello! Can anybody provide a sample VBA code to make the 4 fields from the Script form data in Vertical and ScriptDetail subform data Horizontal,on the exel spreadsheet at the time of export. Thanks SELECT Script.ScriptID, Script.[Script#], Script.ScriptEntryCriteria...
  9. lr999

    Export from an Access Form to Exel one record at a time

    Public Sub ExportScript() 'Export Scripts to Exel Dim strmsg As String strmsg = "Are you ready to export the Script?" strmsg1 = "Export completed and the files are located in the directory:" If MsgBox(strmsg, vbYesNo, "export File") = vbYes Then...
  10. lr999

    Export from an Access Form to Exel one record at a time

    SELECT Script.ScriptID, Script.[Script#], Script.ScriptEntryCriteria, Script.ScriptDataConstraints, ScriptDetails.[Step#], ScriptDetails.UserAction, ScriptDetails.SystemResponse FROM Script INNER JOIN ScriptDetails ON Script.ScriptID = ScriptDetails.ScriptID WHERE...
  11. lr999

    Export from an Access Form to Exel one record at a time

    SELECT Script.ScriptID, Script.[Script#], Script.ScriptEntryCriteria, Script.ScriptExitCriteria, Script.ScriptDataConstraints, Script.Comments, Script.[Reviewer Comments], Script.ScriptDeveloper, Script.[Ready for Review], Script.Verified FROM Script WHERE...
  12. lr999

    Export from an Access Form to Exel one record at a time

    SELECT Script.ScriptID, Script.[Script#], Script.ScriptEntryCriteria, Script.ScriptExitCriteria, Script.ScriptDataConstraints, Script.Comments, Script.[Reviewer Comments], Script.ScriptDeveloper, Script.[Ready for Review], Script.Verified FROM Script WHERE...
  13. lr999

    Export from an Access Form to Exel one record at a time

    it's transfers all the records and I need one record at a time, my record have a field Script ID which is the key, whenever I press the button on the form EXPORT Script, I need Only one record to be exported to Exel ,for that Script Id key thanks
  14. lr999

    Export from an Access Form to Exel one record at a time

    sorry of course it's data, but I need to transfer one record at a time: here is my code: Public Sub ExportScript() 'Export Scripts to Exel Dim strmsg As String strmsg = "Are you ready to export the Script?" strmsg1 = "Export completed and the files are located in the directory:"...
  15. lr999

    Export from an Access Form to Exel one record at a time

    I need a sample VBA code to transfer a form to Exel by Script ID
  16. lr999

    Required Fields on a Form entry

    Hello I need to make 'script#' and "script developer' required fields on script form. I used the following code: Private Sub Form_Close() If IsNull(Me.Script#) Or Me!Script# = "" Then Me!Mes.Caption = "Script# Can Not be Blank" Me!Script#.SetFocus valFields = False If...
  17. lr999

    VBA code for yes/no field on a form

    sorry not working both ways: "=Count(Verified)" for the Total "=Abs(Sum(Verified))" for the 'Yes' count "=Count(Verified) + Sum(Verified)" for the 'No' count. or sum([fieldName]) * -1 : total true records sum([fieldName] + 1) : total false records...
  18. lr999

    VBA code for yes/no field on a form

    That is some help you provided, thanks!!!
  19. lr999

    VBA code for yes/no field on a form

    No I didn't get, because I didn't explain it right
  20. lr999

    VBA code for yes/no field on a form

    Could you, please provide a sample of an OnClick code for a yes/no field on a form. When I'm trying to sum on my report this 'Verified' field, I get the words 'yes' or 'no', instead of counting, if the Verified Field is checked -it's a Yes, If it's not checked - it's a No. In Table 'Verified'...

Part and Inventory Search

Back
Top