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 chispavip

  1. chispavip

    White space "trim"

    Excellent!!!! Enjoy the star
  2. chispavip

    White space "trim"

    It is an easy question and it's something that I can do easily. Anyway, I'd like to know Is there a function to remove white spaces on a string? leaving just 1 space Something like this "Hello World!" -> "Hello World!" Using the trim function removes the beginning and ending spaces, but Id...
  3. chispavip

    Modal Windows on MDI App

    I Have an MDI App and I want that every child window have a modal window but this windows should be modal just to the window that creted. How can I do this? Any Ideas?
  4. chispavip

    Modal childMDIWindows

    I have a MDI App, with some child forms. This chil forms shows some modal windows, but I want the shown window be modal just to the ChildMDIwindow (the caller) and not all the APP. I tried this, but it doesn't work using (FormMyModalWin formMyModalWin = new FormMyModalWin()) {...
  5. chispavip

    Printing a ticket what Height should I use in page size?

    I'm using report viewer and a local report to print some tickets, the problem is that I don't know what size the ticket is going to be. If I put a large fixed size, all tickets are large, even with a small amount of data. I' using an Epson TM 950 printer. How can I set my report to be...
  6. chispavip

    Printing an array using reports

    Actually what I want is to separate it in 2 parts. 1.- To fill my components with data from database 2.- To fill the report with my components This way I can isolate my reports and the database. I don't know which reporting engine to use yet. I Have tried with Crystal and the reporting...
  7. chispavip

    A DB Connection question

    A good programming technique is not to leave a static connection string, because it could be modified dynamically, and this way we void re-compile the code with the new string. The problem merge when we use some wizards, the components ask for a connection and it should be done in a static way...
  8. chispavip

    Printing an array using reports

    In fact I have a lot of problems printing. What I want is to have some reports like normally we do, but what if I have to change the data source (DATABASE name)?. I want to do the reports and chage the source dinamically. Isn't the best way not to have a static connection string? I have...
  9. chispavip

    Where date = mydate

    thanks that works I did it in this way WHERE TDate BETWEEN @MyDate AND DATEADD(day, 1, @MyDate) but there is still a problem. Suppose that I have this on my table R1 12/19/2006 13 hrs R2 12/19/2006 15 hrs R3 12/19/2006 24 hrs R4 12/20/2006 0 hrs it gets R4 too. What I did was...
  10. chispavip

    Where date = mydate

    I think this is an easy question. In my table dates are in smalldatetime type, also it includes time values. Like this 01/02/2006 11:30:00 p.m. but when I construct the query like this ... where Table.Date = myDate my date only contains the date part (01/02/2006) and the result set is an...

Part and Inventory Search

Back
Top