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 Chriss Miller 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: PTmon
  • Content: Threads
  • Order by date
  1. PTmon

    Netapp FAS270 and managed switch

    Hi, I have a netapp FAS270 using iSCSI. I have trunking set up with 2 gigabit connections to a managed switch. The question is, do I need to set up a lag on the managed switch? Thanks, pt putting the "new" in "newb".....
  2. PTmon

    forfiles to delete old files and directories

    Hi, Our oracle backups get dumped out onto a win2k3 file server every night. A new directory with the date is created, and the backups are inside these directories. I want to remove any files and directories older than 4 days. It seems like forfiles should be a good answer, and I am able to...
  3. PTmon

    one click, two urls.

    Hi, I need a little help. I have a download page where people can choose from several brochures (PDF's). When they click on the brochure, I want it to pop open a new window with the PDF, and the background brochure page to switch to a thank you page. Here's what I tried: <a target="_blank"...
  4. PTmon

    query/display results with a foreign key

    I have two tables: Categories and Brochures. Each added brochure gets a foreign key from the catagory table. I want to output a list of brochures, with title of the catagory. I'm having trouble figuring out a good way to do that. What I have so far: <cfquery name="qryListBrochures"...
  5. PTmon

    how to get list of form fields submitted.

    I have a dynamic form that I'm submitting to another "action" page. I know I saw somewhere that a list of all formfields gets passed. I think I'm going to have to loop through that list to find out the names of the formfields, so that I can update them in a sql database. TIA, pt putting the...
  6. PTmon

    two small inserts in one query help

    Hi, I'm trying to insert some text into one table, and an image name into a second table, with a foreign key of the first table. What I have goes through query analyzer with no errors, but never does the second insert. This is part of a web app and I've replaced the variables so it is easier to...
  7. PTmon

    Inserting into two tables

    I have a from that submits text and one image. I want to submit the text into one table, and the image name and foreign key into a different table. What I have does the first insert, the second insert doesn't happen, but I get no errors. <cfquery name="addEditorial"...
  8. PTmon

    spell out numbers

    I'm curious if anyone knows an easy way to spell out the number of records returned from a query. What I'm using works, but it seems like there should be an easier way. Here's what I'm doing: <cfquery name="qryMyQuery" datasource="MyDataSource"> SELECT * FROM tblMyTable ORDER BY MyID </cfquery>...
  9. PTmon

    Export mail files

    Hi, we're moving mail platforms from a BSD box to a windows box running MDaemon. MDaemon stores individual emails as seperate text files, and from what I can tell, sendmail has one text file with all the email for a user stored in that one file. Is there an easy way to export or seperate out...
  10. PTmon

    Grouping Help

    Hi, I'm using CF5. I have a access database with one table. That table contains rows with all of the states, cities, zip codes, and counties. I'm trying to figure the best way to list the state name, and then the number of counties and number of zipcodes in the state. Output would look like...
  11. PTmon

    multiple application.cfm files

    is it okay to have multiple application.cfm files in different directories in the same tree? Like: /web/application.cfm and /web/admin/application.cfm or will they be at war with each other? thanks, pt
  12. PTmon

    looping through form elements

    I have a contact form that I'm inserting into a access database. If the form result is blank, I want to enter NONE into the database. What's the most efficient way to do this? I started to make an if statement and set a variable to none, but there has to be a easier/faster way. Would looping...
  13. PTmon

    Visit counter and evaluate problem

    Hi, I'm trying to make a very simple counter for when visitors sign in to my site. I can't figure out why this is not working. The database field is a number field. --- <cfoutput> <cfquery name=&quot;getuser&quot; datasource=&quot;#application.dsn#&quot;> SELECT visits FROM users...
  14. PTmon

    cffile wierdness - the ongoing saga

    I have a form with 3 areas for file uploads. The files upload great, and when I look at them on the server they are named correctly. However, when I insert into the datase I get a file path and a temp name, instead of the filename. (C:WINNTTEMPACFF3.tmp) I can't use file.serverfile as I'm...
  15. PTmon

    CFFILE error saving empty file.

    I have a form with 3 places for uploading files of different types. If I leave one empty I get the error: Error processing CFFILE No data was received in the uploaded file '\' Saving empty (zero-length) files is prohibitted. Please make sure you specified the correct file. I thought this...
  16. PTmon

    can I upload 3 files at once?

    Basically I need to have a description with the possibility of having a PDF, a MP3 and a VIDEO, with icons that show up if the file is available. Trying to create the ability to add a new description, and then add whichever files will be associated with that description. Thanks, Paul...
  17. PTmon

    Access reserved words

    Does anyone have a list of reserved words in Access? I'm having a problem with a query that I can't seem to fix. Double checked my coding many times now and it's making me crazy :) Thanks, PT http://mahon.homeip.net/remember
  18. PTmon

    simple date dependant image problem.

    Hi, I need to rotate a image between 4 images, one for sprint, summer, fall, and winter. Basically January 1 through March 31 one image1 is displayed, april 1 through June 31 image2 is displayed etc. I'm having trouble figuring out the best way to do this. i don't want to have to set up a table...
  19. PTmon

    selecting by the first letter of a lastname

    Hi, I'm writing a simple page to list contact information. I need to query a field called lname from and url variable. list.cfm?lname=A What I want to do is list all the lastnames that begin with the letter specified in the url variable. I&quot;m not sure how to write the query. Your help would...
  20. PTmon

    iMac won't start up

    I have a weird problem. Slot-loading imac had a hard drive die. I replaced it. Installed system 9.1 with no problem after formatting it. When it rebooted the screen was dark red. I rebooted and zapped the pram. It starts up, and shuts itself down now before the screen even lights up. (about 10...

Part and Inventory Search

Back
Top