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!

Recent content by DiverMarv

  1. DiverMarv

    Skipping Multiple CFWindows

    All, I have been using the new cfwindow feature, and I love it. But now I'm using it within error trapping, and bubbled exceptions are causing the multiple creation of my support submission cfwindow. I get an error that the cfwindow already exists. I have tried a million ways to keep that from...
  2. DiverMarv

    Using faux sequence values in an insert loop

    Ok, we have a small collection of databases that are similar. Many tables need unique id values, but these id values must come from a pool in one central database. So no IDENTITY columns can be used. I have created a Sequence_Tbl in my central database, but now when I want to copy data from one...
  3. DiverMarv

    cfinput type="datefield"

    It's easy to recreate: <cfform> <cfinput type="datefield" name="date1"><br><br> <cfinput type="datefield" name="date2"><br><br> <cfinput type="datefield" name="date3"><br><br> <cfinput type="datefield" name="date4"><br><br> </cfform> save that to a template, and then click on the first...
  4. DiverMarv

    cfinput type=&quot;datefield&quot;

    This is a very weird problem... I am trying to use the datefield with the included calendar control and when I have several calendar controls on a page and I click the calendar icon, the resulting calendar div is placed behind the other calendar controls. So you can't see the entire month, the...
  5. DiverMarv

    Errors accessing word document variable parameters

    Hello all. I am using a third-party solution to generate word documents on our server. For control purposes, I am also adding two document variables to the document. Now I am writing VBA that will be included with all the word documents our clients use. I want to "check" to see if the variables...
  6. DiverMarv

    retrieving repeated columns (e.g. col1, col2) as multiple rows

    Hello all, I have a need to retrieve data from a table that currently stores data as iterative rows (e.g., column1, column2, etc.) I need to retrieve that as a generic set of columns with the repeated column data as rows. Thanks
  7. DiverMarv

    Storing Photos in Sql Server 2005 Database

    Ok everyone. I'm very sorry to have wasted your time. But I have made yet another very stupid mistake in my life. The database I was using for testing is NOT a 2005 database, it's a 2000 database. I appreciate everyones input, and I did learn about the improved ability of an actual 2005...
  8. DiverMarv

    Storing Photos in Sql Server 2005 Database

    Wow, I appreciate all the information supplied! And I also appreciate the comment about the feasibility of storing images in database! Now, mrdenny, I have tried "OPENROWSET BULK" and I get an error: Here is my particular sql statement: INSERT INTO dbo.ProviderPhotoJoin (photo) SELECT * FROM...
  9. DiverMarv

    Storing Photos in Sql Server 2005 Database

    No, I do not have them in the database yet. But I do have a row that they will go into. So I wanted to do an update table instead of insert into table
  10. DiverMarv

    Storing Photos in Sql Server 2005 Database

    All, First, I know that it is best to store the photos in a folder, and just store the path to the image in the database. That is what I currently do for all my implementations of this sort of task. But. We have been tasked with creating a sql server report of a photo directory. I am getting...
  11. DiverMarv

    date comparison in where clause makes view show error

    The ISDATE() function is part of sql server. '6/2005' is not a date, but '6/21/2005' is, and '2006' is. Oh, and the error I'm receiving is: Server: Msg 242, Level 16, State 3, Line 1 The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
  12. DiverMarv

    date comparison in where clause makes view show error

    I have a view: CREATE VIEW table_view AS SELECT USERID, LEOTYP, LEONUM, LEOST, ACTIVE_FLAG , CAST(LEOEXM + '/' + LEOEXD + '/' + LEOEXY AS DATETIME) AS EXPIRES FROM table WHERE ISDATE(LEOEXM + '/' + LEOEXD + '/' + LEOEXY) = 1 GO That only gets items that have a valid date. Querying the...
  13. DiverMarv

    Anyone writing CLR managed code in SQL 2005 yet?

    I forgot to paste in my error message! I get this when I try to run the stored procedure based on the assembly (compiled from the code in the previous post). This is in SQL 2005 Server Management Studio: A .NET Framework error occurred during execution of user defined routine or aggregate...
  14. DiverMarv

    Anyone writing CLR managed code in SQL 2005 yet?

    I'm experimenting with it, so I can start comparing. But unfortunately I'm getting an error. So if anyone has any ideas with this I appreciate any input. Code following (in C#) using System; using System.Collections; using System.Data; using System.Data.Sql; using System.Data.SqlClient; using...

Part and Inventory Search

Back
Top