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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Compkitty

  1. Compkitty

    Emailing File w/ VB.Net w/ Attachment

    Stsuing - THANKS!!! I did have it right; just needed to rebuild the solution to get it to take affect... THANKS to all of you who help us newbies...
  2. Compkitty

    Emailing File w/ VB.Net w/ Attachment

    Ok, This is giving me messages that MailAttachment is not defined... myMessage.Attachments.Add(New MailAttachment(fileName, MailEncoding.Base64))
  3. Compkitty

    Emailing File w/ VB.Net w/ Attachment

    stsuing - You said there was an attachment property...
  4. Compkitty

    Emailing File w/ VB.Net w/ Attachment

    Ok, Since I have never created a class w/ this before, can you tell me how I would call it from my button...?
  5. Compkitty

    Emailing File w/ VB.Net w/ Attachment

    Is there a way to email a file to someone w/in windows forms. the user would not input anything; just click a button so the To: & From: would be inputted already
  6. Compkitty

    Delete Date that is Older

    You guys have been SOOOO helpful and i'm learning sooo much that I (obviously) didn't know or wasn't even thinking of...
  7. Compkitty

    Delete Date that is Older

    SAMPLE DATA 460 561 522 A 7635 FL E 2005-05-13 00:00:0 460 561 522 A 7635 FL M 2005-05-14 00:00:00 SHOULD DELETE The (E) Record.. and leave 460 561 522 A 7635 FL M 2005-05-14 00:00:00 However, I have a table that has 51 records that are duped like this..
  8. Compkitty

    Delete Date that is Older

    I want to be able to find which date is older between two rows w/ the same data.. Except the date(s).. One should be odler than the other and I want to be able to delete the one that is older... I'm not sure of a date function to do that...
  9. Compkitty

    Sequence order

    Ok, I'm getting the same error again SELECT NPA , NXX, BlockId+1 AS BlockID INTO #tmp FROM #TmpLergConvert t1 WHERE not exists (SELECT 1 FROM #TmpLergConvert t2 WHERE t2.NPA = t1.NPA AND t2.NXX = t1.NXX AND t2.Blockid+1 = t1.Blockid) AND...
  10. Compkitty

    Getting INSERT Error

    That's What I Have always thought, but started grabbing at straws when my UPDATES weren't working... THANKS
  11. Compkitty

    Getting INSERT Error

    JAMESLEAN - THANKS!!! This is seeeming to work... I will reupdate this post when/after I run the next batch... THANKS so much guys....
  12. Compkitty

    Getting INSERT Error

    Ok, I have a table that has 135 columns.. Well I am running stored Procedure that creates other tables and calculates my information.. Well both tables have PKs ( that are the same field/value) Well I want to update the table w/135 cols w/ this value into one of it's columns which currently is...
  13. Compkitty

    Getting INSERT Error

    Why would I need to insert it??? OH... I see.. Well I'm not wanting ot (add rows) just update.. But I thought that I could INSERT Instead of UPDATE because my UPDATE was making all the other records NULL.... Is there another way to update one column w/ the data from another table...
  14. Compkitty

    Getting INSERT Error

    HERE IS MY INSERT STATEMENT INSERT INTO Tbl_Temp_CDR(Bill_Duration) SELECT TmpEgress.Egress_Seconds FROM TmpEgress, Tbl_Temp_CDR T1 WHERE TmpEgress.Pkey = T1.CDR_Seq_Key HERE IS THE ERROR Server: Msg 515, Level 16, State 2, Line 1 Cannot insert the value NULL into column 'CDR_Seq_Key'...
  15. Compkitty

    Sequence order

    Ok, working w/ the first part.. select Col02 , Col03, Col04+1 as Col04 into #tmp from #TmpLergConvert t1 where not exists (select 1 #TmpLergConvert t2 where t2.Col02 = t1.Col02 AND t2.Col03 = t1.Col03 AND t2.Col04+1 = t1.Col04) AND ID <...

Part and Inventory Search

Back
Top