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 strongm 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: *

  1. forumposters

    Slow Join Query - Can it be improved?

    Let me try and explain the problem in another way. The UNION ALL only works if the two tables have the same columns. If one table has an extra column and you want to select it, then an error occurs. I want to have that extra column in table A in the rows returned from table A.
  2. forumposters

    Slow Join Query - Can it be improved?

    That's exactly what I needed. Thanks! One more question: If I want to also select a field from from table A that does not exist in table B, how can I do that? Is there some SQL code that will add this field to table B for this query and add a default value of my choice? So, I would have...
  3. forumposters

    Slow Join Query - Can it be improved?

    Thanks for bringing that to my attention. So, I actually don't want to join the two tables and I titled this thread wrong, sorry about that. I just want to get records from both of the tables. The SQL statement produces the results I want, but it takes a long time. Is there anyway to rewrite...
  4. forumposters

    Slow Join Query - Can it be improved?

    Here's my SQL: SELECT * FROM A, B WHERE A.address IN ('X') OR B.address IN ('X') ORDER BY B.address, A.address,B.[date], A.[date] Is there anything that sticks out here that could be improved so that this query takes less time to run?
  5. forumposters

    using java in a cfc to parse emails

    Thanks, cfsearching. Here's the code that I've come up with after some further help from the Javamail forum: <cfset variables.b = emlFile.getBytes("iso-8859-1")> <cfset variables.byteInputStream = createObject("java","java.io.ByteArrayInputStream").init(b)/> <cfset variables.oMail =...
  6. forumposters

    using java in a cfc to parse emails

    cfsearching, How might you parse emails from a zip file without unzipping it first? Here's what I've come up with so far which makes use of the new cfzip tag: <cfzip action="list" file="#ExpandPath( '/test/test.zip' )#" name="test" /> <cfoutput query="test"> <cfzip...
  7. forumposters

    border color of select menu in IE

    How do you set the border color of a select menu in IE?
  8. forumposters

    Want to show padding, margin, and borders while trying to debug

    thanks for that tip. i'm not sure how to apply it though. If I copy and paste that to the address box in my browse and hit return, it doesn't do anything.
  9. forumposters

    Want to show padding, margin, and borders while trying to debug

    If i want to see where all the borders are on all my divs, tds, etc I can put this line in my css: *{ border: 1px; border-style: solid; } But, I'd like to see margins and padding as well... Is this possible?
  10. forumposters

    using java in a cfc to parse emails

    many thanks for your helpful replies... very much appreciated. you got me thinking when you explained that the browsers is not configured to open rtf files... i did some googling on this issue and found a plugin for firefox that allows me to configure this terrific browser to open rtf files...
  11. forumposters

    using java in a cfc to parse emails

    this seems to work for images. i'm actually using jQuery to write create an iframe for each attachment like this: $('.attachDisplay').html("<iframe width='500' height='200' src='showFile.cfm?emailFilename=#url.file#&attachFilename="+$(this).attr('attachFilename')+"'></iframe>"); And...
  12. forumposters

    using java in a cfc to parse emails

    Actually, I wasn't thinking of saving it to disk nor too a database. Can't I use the variable attribute of cfcontent instead of the file attribute?
  13. forumposters

    using java in a cfc to parse emails

    Thanks for another helpful post. I am able to create a variable that is a byte array for each attachment. I can then use cffile with the readbinary action. I'm not sure what to do next though. Might I want to use cfcontent to display the attachments? Or, might there be a better way to...
  14. forumposters

    using java in a cfc to parse emails

    Here's how I had to get the body of the email, and it seems to contain the attachments: <cfset content = message.getContent()> <cfset i = 0> <cfset bodyPart = content.getBodyPart(javacast("int", i))> <cfreturn bodyPart.getContent()> But, now I want to get the attachments that are in...
  15. forumposters

    using java in a cfc to parse emails

    Thanks, that was very helpful. One thing that is giving me trouble now is trying to figure out where all the data is stored in the message object. I can't use cfdump to see where everything is store and under what function. Instead, I have to keep guessing and checking. Right now for...
  16. forumposters

    using java in a cfc to parse emails

    Here's some java code that does almost exactly what I want to do. http://www.rgagnon.com/javadetails/java-0458.html However, I want to use this java code in a cfc I'm clueless how to put this java code into a cfc. Any pointers or tips to help me get started would be very much appreciated.
  17. forumposters

    Backlinks from Articles in Article Directories

    Do search engines like Google, Yahoo, and MSN count the links back to your site? Has anyone found that submitting many articles has alone significantly improved their postition in the SERPS for the anchor text that they use with their backlinks?
  18. forumposters

    Hosting Images Remotely - Does it Affect SEO?

    Our domain has been listed in Googles web SERPS for over a week now, but Google images has not indexed any of our images that are remotely hosted. We'd like to get our images indexed in Google images because the site in question is a photo gallery. I'm thinking that it does make a difference...
  19. forumposters

    Hosting Images Remotely - Does it Affect SEO?

    Our images are hosted at Amazon S3 and we just link to amazon's server in our html href tag.
  20. forumposters

    Hosting Images Remotely - Does it Affect SEO?

    If we host our images remotely, will we hurt our SEO in anyway?

Part and Inventory Search

Back
Top