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 TouchToneTommy 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. WordTechinc

    Store Procedure Return Value zero

    I excuted SP but return value zero. I think the table using in SP is deleting and writing by parameter by another SP. How to get return value while other SP is deleting and writing same sql table by job number? Private Function getSavedJobs() Dim cmdSavedJobs As New SqlCommand...
  2. WordTechinc

    ISNULL & CAST in SP

    If [History count} is zero, [Final Count} should have [All count]. But [Final Count] value returns as zero. How to move [History count] into [Final Count]? This is part of SELECT within Store Procedure. ISNULL(cast (([ALL count]-[History count]) as integer(18)),0) AS [Final Count]
  3. WordTechinc

    SP-Convert data type nvarchar to numeric

    I am a beginner and need help. I am getting error message System.Data.SqlClient.SqlException: Error converting data type nvarchar to numeric. at System.Data.SqlClient.SqlCommand.ExecuteReader (Commandbehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) I tried...
  4. WordTechinc

    How to end FORM2 after Form.ShowDialog

    FORM1 need to get result from FORM2 and keep run next step in FORM1. So I used .showdialog() instead of .show(). The problem is I get result from FORM2 but looks like FORM2 still running. FORM2 looks like hide. How to end FORM2 after .showdialog()? I am a beginner. I read article about...
  5. WordTechinc

    cannot close Form2.showdialog

    Form1 need to get result from Form2 and keep run next step in Form1. So I used .showdialog() instead of .show(). The problem is I get result from Form2 but looks like Form2 didn't closed. How to close Form2 after .showdialog() from FORM1; If dtJobDetailsMileRadius.Rows.Count > 0 Then...
  6. WordTechinc

    SQL SP Error 213

    Error 213: Insert Error: Column name or number of supplies values does not match table definition. Insert Error: Column name or number of supplies values does not match table definition. I am getting Error 213 after add ClassKey Varcgar(20)in table @LicenseID_ProfCode. Please help me...
  7. WordTechinc

    DTS disable Daily Run

    I want to run DTS manually. I clicked Schedule Package and changed end date to TODAYs date on Edit Recurring JOb Schedule but It donsn't let me change it. How to disable auto daily run.
  8. WordTechinc

    how to exec dataaccess

    I am new c# and Web App and try to understand it. I would like to know how the following line work and also attached full public void too. I cannot figure out how where GetProgramM get executed. I use Visual Studio 2008 & c#. DataTable _datatable = _dataaccess.GetProgramM(_iPMID); public...
  9. WordTechinc

    Saving Select Checkbox take too long

    I am try to update seleted check box but it takes so long to save into table. There are only 5,000 records in table. Is there way to make this faster? Here is code; Sub SaveCurrentCheckBox() Static blnSelect As Boolean Set db = CurrentDb() Set myrs = Me.RecordsetClone...
  10. WordTechinc

    OpenRecordSet with Where

    I want to select record which FaceLetter = false only from table. FaceLetter is Yes/No field. When I run execute code I get all record from input table. Here is code; Private Sub CreateTaxCertification_Click() Dim db As Database Dim rs As Recordset ''' record write ''' Dim rs2009...
  11. WordTechinc

    Compare 2 decimal Round only from 4 decimal

    How to compre 2 decimal only? AmountPD have 2 decimal (ex) 125.54 Discount have 4 decimal (ex) 125.5364 I want to compare AmountPD(125.54) = Discount (125.54). Here is code; If .Fields("AmountPD").Value <> .Fields("Discount").Value Then .Fields("FaceLetter").Value = False...
  12. WordTechinc

    DoCmd.OutPutto file name with Date

    I want to save the report with date and time to eliminate replace existed report. I am getting a message "The report snapshot was not created because you don't have enough free space for temporary work files." Here is code; Dim stDocName As String Dim stFileName As String Dim...
  13. WordTechinc

    Access Popup Parameter

    I have a Access report which is created with recordsoure of parameter query. I want to print this report from FORM and pass paremeter from FORM text box value. How can I print report without POPUP parameter from the FORM. I have to keep parameter query recordsorce on the report. I also try...
  14. WordTechinc

    Error 170: Incorrect syntax near '('

    Please advise me for this error. This is SQL statement: Create table #LicDel (id bigint identity,liccd numeric (18),profcd nvarchar(8))
  15. WordTechinc

    how to create value with HEX(0C)

    I would like to add as new line with HEX(0C)(2F) before Barcode. Could you help the coding? input = 07017-221360 output = /07017-221360 - want to add HEX(0C) (2F) - this should be recognize as new starting line.
  16. WordTechinc

    SQL - Create records without Duplicate

    I am a beginer SQL. Please advise me. I would to know how to change to create one record by field name(LICENSE_ID). There are multi records with field name [Prof Code] by field name [ICENSE_ID]. -- generate Mailing list with multi job numbers as master job number -- CREATE PROC...
  17. WordTechinc

    Error: divide by Zero VB.net SQL text

    How to modify within full cmd.commandtext. I need to able to pass this full cmd.commandtext to SQL. This error occurs while SQL text thru vb.net because ProsRNCount is zero. This is the part of cmd.commandtext. "ISNULL(cast((RespRNCount/" & _LowestSelectedCityCounter & " ) / ProsRNCount *100...
  18. WordTechinc

    Error: divide by Zero VB.net SQL text

    This error occurs while SQL text thru vb.net because ProsRNCount is zero. This is the part of cmd.commandtext. ISNULL(cast((RespRNCount/" & _LowestSelectedCityCounter & " ) / ProsRNCount *100 as numeric(9,3)),0) as [RNPercResponse] This is full cmd.commandtext from vb.net Cmd.CommandText =...
  19. WordTechinc

    SQL error:137

    I am getting error: 137 Must declare the variable '@RNCodes'. Please advide me. CREATE PROCEDURE [dbo].[INRV2_Insert_gdtResultDT_RN_bkup_20090915_TEST] ( @RNCodeXMLString ntext, @XMLString ntext, @JobNo char(5), @UiD UNIQUEIDENTIFIER ) AS SET NOCOUNT ON DECLARE...

Part and Inventory Search

Back
Top