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

  1. chiplarsen

    Grouping on a Formula Using Minimum Date

    LB, you are awesome! You have helped me several times over the past 13 years! Thank you! Your example worked perfectly. I added the medication IDs to the query and changed the syntax a little. It works great! It is exactly what I needed. Thanks again! This will help me get out of the box...
  2. chiplarsen

    Grouping on a Formula Using Minimum Date

    Thank you LB! I am working through some of the syntax right now. I am going to try to get it to work. Chip
  3. chiplarsen

    Grouping on a Formula Using Minimum Date

    No, there will be one encounter per patient and multiple patients. I will suppress all of the detail and just have the summary crosstab. This is what it will sort of look like. The first column are the values from the grouped datediff values. The fourth column is the count of the patient...
  4. chiplarsen

    Grouping on a Formula Using Minimum Date

    My intention is to get a specific patient encounter based off of the admission date. From there, I am looking for a specific documentation record and that date. I am using the specific documentation date(only one) and the minimum order date to calculate how long it took from the documentation...
  5. chiplarsen

    Grouping on a Formula Using Minimum Date

    Hi kray4660, Could you give me an example of how you would accomplish this with sql code? I have a main table that the order table(order date) is linked to. If I understood how to link the code back into the main table, I could do it. I believe that you would create a little query that would...
  6. chiplarsen

    Grouping on a Formula Using Minimum Date

    Hi, I have created a report in Crystal 13. I have a formula that is used to tell how many days between two dates. The "Admit Date" is constant, but the second date could have multiple values. I am using the minimum(second date) in my datediff. The first formula is to get the minimum date...
  7. chiplarsen

    Logic Help - Update column in table with data from previous day

    ...but this data is going to come from the same table that all the data resides in. Here is what I have for the current trigger. USE [IPS_PROD] GO /****** Object: Trigger [dbo].[TR_DOCOFDAY_U] Script Date: 03/09/2011 20:25:44 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER...
  8. chiplarsen

    Remote Execute EXE in Visible Window

    I am using Python 3.1. I am trying to start a process (.exe) on a remote server. I am running the script from another server. When I run this code, the process starts on the remote server and can be seen in the processes in the task manager. I need this process to be visible so I can monitor...
  9. chiplarsen

    VBScript Quest about obj.TextFile.SaveAs

    ...If Trim(Len(strDay))<2 Then strDay="0"&strDay End If strFileNameExt=Year(DateAdd("d",-1,Date))&strMonth&strDay '***** Open Text File ***** Const ForWriting = 2 Set objFSO = OpenObject("Scripting.FileSystemObject") Set objTextFile = objFSO.OpenTextFile ("C:\PERSELOG\PERSE.TXT")...
  10. chiplarsen

    Linked SQL 2005 Tables are READ ONLY in Access

    Hi, I have an Access 2003 database that uses SQL 2005 linked tables. I have no problem opening the database and viewing the data, but if I want to add a record to the table or update a record, I can not do it. The options to insert a record are grayed out. The SQL tables are linked via ODBC...
  11. chiplarsen

    Using Split Function to parse data Question

    Hi, I have a string that looks like this. Patient Transferred to:CSCU I want to split out the data from the right side of the :. I tried this, but it did not works. split(description,":")[1] This returns Patient Transferred to. I want to get CSCU. Can anyone help with this function. Thank you
  12. chiplarsen

    Trigger on Insert in table..Udate field (multiple) other table.

    I am embarrased to say you were right. There were no matches on PAT_ACCT_NBR. I should not have assumed that there were. I guess that is a lesson learned. Thank you
  13. chiplarsen

    Trigger on Insert in table..Udate field (multiple) other table.

    George, it is working now. I think that it would have worked after you told me about FIRE_TRIGGERS command in the bulk insert. Thank you George.
  14. chiplarsen

    Trigger on Insert in table..Udate field (multiple) other table.

    This is the results of the query. IPS_DSCHRG_DX varchar BILLING_TABLE nvarchar CURRENT_CENSUS nvarchar DISCHARGE_TABLE nvarchar It does look like the query is firing, but no updates. I am also learning about creating the proper keys in my tables. In the BILLING_TABLE, the PK is a combination...
  15. chiplarsen

    Trigger on Insert in table..Udate field (multiple) other table.

    George, I really do appreciate your help. Thank you
  16. chiplarsen

    Trigger on Insert in table..Udate field (multiple) other table.

    George, I made the change to the bulk insert, but it is still not updating the billing table. Is there a way that I can make sure the trigger is firing? I thought I saw something about a print command in another trigger. I will go look. Thank you
  17. chiplarsen

    Trigger on Insert in table..Udate field (multiple) other table.

    This is the bulk insert command. There might be another way to do this. I am self taught and have a lot more to learn. bulk insert DISCHARGE_TABLE from 'c:\ftpfiles\ftpdsg\dsg_ips.txt'
  18. chiplarsen

    Trigger on Insert in table..Udate field (multiple) other table.

    Thank you gmmastros...I am going to go read.
  19. chiplarsen

    Trigger on Insert in table..Udate field (multiple) other table.

    Does anyone have time to look at this? Did I explain it ok? Thank you

Part and Inventory Search

Back
Top