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. DebHanleyRI

    moving records from data table to database

    Thank you George - I got it working - here is the end result: Try Dim path As String = ("\\testSv\c$\VRFiles\liveoutputTEMP.csv") Dim path2 As String = "liveoutput" + tDate + ".csv" If File.Exists(path) = True Then Using sr...
  2. DebHanleyRI

    moving records from data table to database

    The csv file is being created from a piece of software we bought - this software will only write to the server it resides on and the file it creates sometimes has garbage in it. I have no control over the output so I was hoping to modify/verify the data before I write to SQL. Thanks for the...
  3. DebHanleyRI

    moving records from data table to database

    sql 2005 not all who wander are lost....
  4. DebHanleyRI

    moving records from data table to database

    I need to insert into a database from a csv file. I started by copying the csv file into a data table and that works like a charm - I can step through this and I see the data in the table: Using sr As System.IO.StreamReader = System.IO.File.OpenText("\\testSv\c$\VRFiles\liveoutputTEMP.csv")...
  5. DebHanleyRI

    using Left( )to locate data or lack of data

    you my friend are the BOMB - thank you!!! not all who wander are lost....
  6. DebHanleyRI

    using Left( )to locate data or lack of data

    I am not getting back the value after the ">>>" and I will need that as well - I posted my test below: Declare @AppointmentNote VarChar(8000) Declare @ApptNote1 VarChar(8000) Declare @ApptNote2 VarChar(8000) Set @AppointmentNote = 'CoPay required no gado <<<<recondo received>>> test' SET...
  7. DebHanleyRI

    using Left( )to locate data or lack of data

    works like a charm - THANK YOU!!! not all who wander are lost....
  8. DebHanleyRI

    using Left( )to locate data or lack of data

    I either add or update a field based on whether or not data exists in that field. Example: I am looking for the following "<<<Recondo Received 9/28/10>>>" in a text field The field may look like this: CoPay required <<<Recondo Received 9/28/10>>> no gado Using the following fails if the...
  9. DebHanleyRI

    how do I use dateadd in SQL2005 stored procedure

    I did read your email - and I thank you! I came up with the following - I'm not returning anything yet but I think I am close ALTER proc [dbo].[psp_RecondoDate] @inDate nvarchar(100) AS DECLARE @outdate nvarchar(100) DECLARE @newInDate datetime SET @newindate =...
  10. DebHanleyRI

    how do I use dateadd in SQL2005 stored procedure

    We use an HL7 engine to move messages from our RIS to both our internal and external partners - however - the engine cannot recognize that this is a date and add 2 days. My results for '20100730' came out as '20100732' and invalid dates fail to pass at our partner. I am closer to resolving this...
  11. DebHanleyRI

    how do I use dateadd in SQL2005 stored procedure

    I am hoping someone can help me - I need to add 2 days to a date - the data comes in like '20100730'. Has anyone used dateadd in a stored procedure before? I have the following in a stored procedure: ------------------------------------------------- ALTER proc [dbo].[psp_RecondoDate]...
  12. DebHanleyRI

    datagrid - confirm entry before posting

    Thank you everyone - here is what I ended up with(after 16 hours of looking at it): in my HTML: <input type="hidden" id="Hidden1" name="Hidden1" runat="server"> my vb code: Protected Hidden1 As System.Web.UI.HtmlControls.HtmlInputHidden In my page load: Private Sub Page_Load If...
  13. DebHanleyRI

    datagrid - confirm entry before posting

    Hello Mark, Thanks for looking into this... I tried the code in the link - however - the update button is a template button on the datagrid and onClientClick is not an option fron the update on the grid. Is it possible to have a messagebox that can return a yes or no value from the...
  14. DebHanleyRI

    datagrid - confirm entry before posting

    I am a newbie... I have a datagrid in asp.net where our users record the number of steps they have walked since last week - this works great - however - I have been asked to add a confirm button that will basically say "Are you certain you want to post xxx steps today" after the user clicks...
  15. DebHanleyRI

    getting &quot;runtime error 339&quot;

    Using the VB package and deployment wizard, I installed an application on a user's PC. When I am logged in as admin, the application runs with out problems. However, when the user logs in, they get the following message: Runtime Error '339' Component 'msflexgrd.ocx' or one of its dependencies...
  16. DebHanleyRI

    Select Count(*) of a table and return the count

    I need to count the number of records in a table before I process the records - If there are more than 100 records, I need to send an email. This is my function, what I thought would work, but it returns cntAcks = -1 Public Function getAck() As ADODB.Recordset 'Get all of the acks from the ack...
  17. DebHanleyRI

    Help with Distinct statement

    Thanks for the quick response - Let me mention I am a newbie. I believe that I have followed your instructions correctly, but the error I get is: Line 3: Incorrect syntax near '.'. Line 3 is: as Transcripts.Recordid... I tried the following: SELECT DISTINCT oldack.trans_recordid...
  18. DebHanleyRI

    Help with Distinct statement

    I have two tables I need to join to populate an excel spreadsheet. The following statement works, but, now I need to modify to select only distinct oldack.trans_recordid. The oldack.date is the primary key. Here is my select statement: SELECT oldack.[Date], oldack.ack, oldack.visit_id...
  19. DebHanleyRI

    how to create a 10 second popup

    Thank you. I do need to add to my inquiry. How do I create the second popup from the 1st popup when quitting out of the 1st popup?
  20. DebHanleyRI

    how to create a 10 second popup

    In my application, closing a popup window causes other activity to take place in the background. Is it possible to display another popup for 10 seconds notifying the user to just sit tight while my others tasks are completing?

Part and Inventory Search

Back
Top