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: putts
  • Order by date
  1. putts

    Export to Flat File and FTP

    Figured out my own problem. In my package, I have the scenario that I had portrayed....Data Flow to create Flat File followed by an FTP Task to upload the file. However, I was doing for 2 tables so I actually had 2 copies of that sequence. The FTP Tasks were running close to the same time and...
  2. putts

    Run Program Based on count in SQL table

    Edit on my response.....ignore the first 2 dim statements.....they are already in the code later on.
  3. putts

    Run Program Based on count in SQL table

    Another alternative is to use a Script Task. Store off the value of your COUNT from your Execute SQL Task into a variable. Create a Script Task. On the Script tab, type in your variable's name into the ReadOnlyVariables line. Click Design Script. Type in something like this.... Dim startInfo As...
  4. putts

    Export to Flat File and FTP

    What I have.... A Data Flow task that Exports data from the database to a flat file. An FTP task immediately following that Data Flow Task that then FTPs that File to an FTP Server. I can get the process to work if I do an Execute Task on each one individually but if I just try to run the...
  5. putts

    Delete with Sub-query "Query Cancelled by User"

    I have a script with a bunch of statements and one of them is this..... DELETE FROM TEMP_FII A WHERE WS_INSTANCE_ID IN (SELECT WS_INSTANCE_ID FROM TEMP_FII WHERE A.ID <> ID) Clearly, what I'm trying to do here is insure that there WS_INSTANCE_ID is distinct within this table and I'm using that...
  6. putts

    Update From statements in DB2

    Thank you, Marc.....that was it! UPDATE FI_SUM_WF_AGENT_REL SET (FI_AGY_CD,FI_POL_ID,FI_NAME,FI_STATUS,FI_WF_STOP,FI_WF_INSTANCE_ID) = (select DISTINCT CL_AGY_CD,AF_TITLE, CASE WHEN CL_DBA_NM_SRCH IS NOT NULL THEN CL_DBA_NM_SRCH ELSE CONCAT(CONCAT(CL_LAST_NM_SRCH,', '),CL_FIRST_NM_SRCH)...
  7. putts

    Update From statements in DB2

    I'm guessing these aren't allowed. The following is my example.... UPDATE FI_SUM_WF_AGENT_REL SET FI_AGY_CD = CL_AGY_CD, FI_POL_ID = AF_TITLE, FI_NAME = HOLDER_NAME,FI_STATUS = STATUS_DESC,FI_WF_STOP = WST_STOP_TS FROM select DISTINCT CL_AGY_CD,,AF_TITLE, CASE WHEN CL_DBA_NM_SRCH IS NOT...
  8. putts

    DB2 Table Spaces (TEMPSPACE1) and Joins

    I have a Join query that is hitting a table with about 4 million records and about two others that about 1.5 million each. The query used to run fine but lately is beginning to really creep (about 13 minutes for 50000 records returned). I started looking around Control Center hoping to trip...
  9. putts

    Selection Formula with a sub Query

    First off, thanks for the replies. slight bummer, though, because I typically build my reports with almost no parameters in them that limit the data and then I have this ultra-dynamic-database-table-driven that eventually builds up a RSF for the report and then sends that in on the fly. The...
  10. putts

    Selection Formula with a sub Query

    How do you build a record Selection Formula that does something like a sub query. For instance, let's say we have an Invoice database and one of the items on the invoice is the salesperson. In my report, I want to pull any invoice that has Bob as the salesperson. Trick is, there could be...
  11. putts

    Suppressing Subreports

    Just for prosperity's sake, Naith's Underlay Following Section works perfectly for this situation (as long as it's in the Detail, I suppose) I was having the same problem..... - Have a subreport populating some variables - Needed some field in my detail based off those variables - If I put the...
  12. putts

    Same ODBC Name; Different Properties....

    Okay, here's the situation. We have an outside company do some stuff for us and they have a working copy of some of our databases however they use different naming techniques than we do for the actual MS SQL Database names. So, they made a report for us that pointed to an ODBC connection that...
  13. putts

    Tray/Bin selection, is it possible ?

    IdoMillet, Question for you. I was unable to find it in your user manual but did you say that using your third party software this could be done. We have a job that runs (VB6) that's an EXE that prints out this report that is several several pages long. For the most part, it goes...
  14. putts

    Adding Sort by Field Name in ASP

    Solved: Set DatabaseTableCol = session(&quot;oRpt&quot;).Database.Tables for i=lbound(arrSort) to ubound(arrSort) if arrSort(i) <> &quot;&quot; then for j=0 to DatabaseTableCol.Count Set DatabaseTable = DatabaseTableCol.Item(j) for k=1 to DatabaseTable.Fields.Count...
  15. putts

    Adding Sort by Field Name in ASP

    I have this code currently.. Set DatabaseField = session (&quot;oRpt&quot;).Database.Tables.Item(1).Fields.Item (1) session (&quot;oRpt&quot;).RecordSortFields.Add DatabaseField, 1 But the value I`m going to have to be able to sort by is the field name, not its ordinal. Is there a way to...
  16. putts

    Upgrading ActiveX Viewer to 9.0

    I believe you CAN &quot;force&quot; the upgrade by manually registering DLL's, but I dont want to do this to every computer that needs to use the new reports.
  17. putts

    Upgrading ActiveX Viewer to 9.0

    I am receiving the 'Invalid TLV Record' while having a user attempt to view a new report I made for them via the ActiveX Viewer for the web. I'm figuring that I need to have the user upgrade her ActiveX Viewer to the 9.0 model, but how do I do that? And, is there a way to force every user that...
  18. putts

    Need help Printing programatically

    Where's Seagate's HQ? I need to take a piss.
  19. putts

    Loops in Triggers

    I'm pretty new to doing triggers in DB2, and I have a fairly in depth one that I'm trying to figure out if it's possible or not. What happens is each record inserted into this one table actually represents a file. In another table is stored all the folders that that file might reside inside...
  20. putts

    Crystal Reports Creating Huge Files With Picture Help

    Did you, somehow, on accident click the Save Report with Data option. I know this will dramatically increase the size of your report. I dont think it'd do it that badly, but it's worth a shot. Also, have you tried saving the report under a different name or opening the file into Seagate...

Part and Inventory Search

Back
Top