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 TouchToneTommy 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: Draven74
  • Content: Threads
  • Order by date
  1. Draven74

    Possible to declare a variable inside a select statement?

    Hello, I've got a stored procedure that builds a dynamic SQL satement and then assigns it to a varchar variable. I would like to know if if's possible to declare a variable from within a select statement. I keep getting the 'Incorrect syntax near the keyword Declare' error. For example...
  2. Draven74

    Possible to declare a variable inside a select statement?

    Hello, I would like to know if if's possible to declare a variable from within a select statement. I keep getting the 'Incorrect syntax near the keyword Declare' error. For example: SELECT A.test1, A.test2, (DECLARE @tmp INT SELECT @tmp = (SELECT B.test3 FROM B) CASE WHEN @tmp <> 0 THEN @tmp...
  3. Draven74

    Windows XP Service Pack 2 - Problem with hyperlinks

    Hello, I'm hoping someone can help me. I've got a web page that creates an excel file client side and saves it to the client's temp folder. The page then displays a hyperlink (File://...) to that file. Before SP2 there were no problems, the file would open normally, but now even though the...
  4. Draven74

    Force window to front in calling application only.

    Hi, Does anyone know how to force a form to the front, but only within the calling application (hopefully using the SetWindowPos API)? I have a form that is displayed showing a progress indicator (therefore I don't want the form shown modally, which would halt program execution). I want the...
  5. Draven74

    Problem sorting in MSHFLEXGRID

    Hello, I'm hoping somebody can help me out. I'm using the double click event of an MSHFLEXGRID to sort a column selected by the user. I have multiple columns with different data types (dates, integers, strings). The problem is that whatever sort property I choose, it doesn't sort all data...

Part and Inventory Search

Back
Top