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 Wanet Telecoms Ltd 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 psychoflea

  1. psychoflea

    Start & End Range Query

    Thanks Markros, thats spot on what I was looking for! :) Just out of interest this was my final code Select Max(ProductNo) as ProductNo, Min(Date) as StartDate, Max(Date) as EndDate, Max(Price) as Price from ( SELECT TOP (100) PERCENT ROW_NUMBER() OVER(PARTITION BY [ProductNo],Price ORDER...
  2. psychoflea

    Start & End Range Query

    Hi, i'm trying to find the start date & end date for a range of like data for example Turn this: ProductNo Date Price 12345 10/7/10 £1.50 12345 11/7/10 £1.50 12345 12/7/10 £1.50 12345 13/7/10 £2.30 12345 14/7/10 £2.30 12345 15/7/10 £1.50 12345...
  3. psychoflea

    Email trigger with multiple records

    Thanks for your responses. I thought that might be the answer that I was going to get. The email side of it is already coded in the application (Access Front Linked to SQL DB), but its causing complications when it tries to interact with Outlook (which is upsetting the users) so i'm getting...
  4. psychoflea

    Email trigger with multiple records

    Hi It there a way that I can send an email when multiple records are inserted to a table? Basically multiple record are inserted into a table and rather than bombard the users with emails for each record I was wondering if I could send a batch of inserts in a single email. All the record...
  5. psychoflea

    Crystal XI Default Value in Date Parameter

    Hi I have only just started using Crystal Reports XI after using version 10 for the last 3 years. I'm having problems when creating a Date parameter of getting it to set the default value to the currentdate. (In version 10 if you left the default value blank it would automatically default to...
  6. psychoflea

    Multiple Create Triggers Statements

    Hi all Bit of a basic question, but I have multiple trigger that I want to create to different table in one statement. Example CREATE TRIGGER rateaud ON [dbo].[exrate] FOR INSERT,UPDATE AS Begin ........ End CREATE TRIGGER forcastaudit ON [dbo].[forecast] FOR UPDATE AS begin ......... End...
  7. psychoflea

    Comparing Images

    I'm writing a Javascript slotmachine and was have become a bit stuck. I have 3 reels that display 4 images, I want to compare the images and if they match add a value to total amount won, but I am unsure how to do this correctly function spinem() { turns1=10+Math.floor((Math.random() * 10))...
  8. psychoflea

    Stopping Threads

    Yes your right, it was very sloppy of me. Sorry. Thank you for all your help, I have done what you suggested and used 1 class to create the 4 objects Thanks again
  9. psychoflea

    Stopping Threads

    I'm working on a traffic light system where users can input a time delay between light changes. The system is for 4 sets of lights each using its own thread process. I can start the threads but can't seem to get them to stop. the code is a bit rough at the mo Any ideas would be very...
  10. psychoflea

    UPDATE and IF Statements

    Hi Is there such a way that you can use an IF Statement within an UPDATE Statement. Such as: UPDATE Table 1 IF col1>= 500 SET col1 = col1*2.5 ELSE SET col1 = col1*1.5 Thanks
  11. psychoflea

    Basic JButton and ActionListener Problem

    Thanks Prosper I've changed the program a little bit more using your code for the ActionListener. The problem i'm haveing now is trying to figure out how to get the running total for the score working If anyone has any thoughts source code: import java.applet.Applet; import java.awt.*...
  12. psychoflea

    Basic JButton and ActionListener Problem

    Thanks for reading (more of a personal question than a professional one) I have just starting to use java and wanted to start writing a simple "Who wants to be a millionaire" java game. Using the few texbooks that I have i've managed to write a small part of the program, but I can't...

Part and Inventory Search

Back
Top