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. GoSooJJ

    String number to Date format

    Sorry if my original question wasn't clear. Anyways, I fixed it out. Here is an example that I just tested and works fine. <cfoutput> <cfset str = '200909' /> <cfset str = '20090903' /> <cfif len(str) EQ 6> <cfset str = dateFormat(parseDateTime(reReplace(str, "([0-9]{4})([0-9]{2})$", "\1/\2"...
  2. GoSooJJ

    String number to Date format

    This can be simple but I'm trying to find out best way of converting string integer to date format. Maybe use regular expression for this? there is input string which is 6, or 8 numeric characters. if 6 characters then first 4 digit is year and last 2 digit is month. If 8 characters then first...
  3. GoSooJJ

    Build Dynamic Matrix

    Okay I figured it out ^_^ 1. Cleaned up the table values from '<=$100,>$1000' to '<= 100,> 1000' for all 2. Get 1st query by given constant values such as company name, company address, and so on. 3. Loop the query to evaluate the given value '2100' with queried values. For example, with '<=...
  4. GoSooJJ

    Build Dynamic Matrix

    I'm not sure if this is possible but I hope someone can help me out. Basically I have a table with company information and conditional values. Conditional Values can be '<=$100,>$1000' or '>$200,<$500'... In my application, I will pass a company information and value arguments. For example, if...
  5. GoSooJJ

    Sort By by given values

    Wow many many thanks to you r937!!
  6. GoSooJJ

    Sort By by given values

    Can I sort by given values? Assume that I have column call EMP_ID with range from 1 to 6 then I want to sort by this order (1,3,5,6,4,2). Is there such way to do it easily? TIA
  7. GoSooJJ

    CF 8 - Japanese Characters (shift_jis)

    I have a client who use Coldfusion 5 and the pages are encoded with Shift_JIS character set. I'm testing the internal site with CF 8 right now but facing many problems. First the client does not want to convert both cfm pages and database to UTF-8 so I have to use existing setup. Since CF5 used...
  8. GoSooJJ

    Coldfusion MX 8 and Oracle US7ASCII character set with Asian Character

    I'm currently running Coldfusion 5 with Oracle US7ASCII character set database. I have been stored data in Shift_JIS (Japanese), Big5 (Chinese), and EUC-KR (Korean). Now I installed MX 8 on development server and tried to work with existing Oracle database but everything display as garbage...
  9. GoSooJJ

    Help on popup layer

    I need to make popup layer which when customer mouseover(hoover) to product then popup layer show up with other similar products then user can add to shopping cart directly. I'd like to have something similar to http://optspots.com/advertisers.html. Is there any script that I can use or have an...
  10. GoSooJJ

    Generate dynamic filepath to File field

    Thank you for your reply Harm. I understand now. It's security reason that you can not copy to File type field. Looks like there's no short-cut.
  11. GoSooJJ

    Generate dynamic filepath to File field

    Assume that I have 20 images with sequence number like "happy_1.jpg" to "happy_20.jpg" then I need to upload all 20 images to server. However I don't like to click 20 times to enter the images into File field. Is there anyway that I can generate them in javascript and fill into the each File...
  12. GoSooJJ

    Resolve if media file exist or not from the download servers

    I'm trying to figure if there's way to check file exist from the download server before I download? I only need to check file exist or not but cfhttp is trying to download files... Anyone know easy way? FYI i'm using CF 5.0.
  13. GoSooJJ

    replace special characters to original character?

    I'm having little hard time to figure out how to replace URL encoded characters to original characters. For example I have this cookie from Coldfusion and it displays: SESSION_INFO=12345%7C%7C1%7C%7C123%7C%7C10%2E6; which is 12345||1||123||10.6 Can anyone show me how to convert SESSION_INFO...
  14. GoSooJJ

    r-&gt;filename value changed?

    Again, thank you very much!!!!!
  15. GoSooJJ

    r-&gt;filename value changed?

    Thanks for the great answer cpjust. However, can you show me the example of what you just described? I just can not make sure that I'm doing right (I'm guessing too many times). Please help me one more time if you can :) TIA
  16. GoSooJJ

    r-&gt;filename value changed?

    Hi there, Since I do not good understanding of pointers, I can not figure out why I'm missing from below code. Basically, I want to get filename from the url and if filename(media_id)is correct then return OK. But the problem is r->filename is changed. from /data/htdocs/localhost/12345_full.wmv...
  17. GoSooJJ

    get filename from uri

    I'm new to Apache and need help on c module. This can be simple but it's really hard to find solution from web so I'm asking experts here. Basically, if URI is "/folder1/12345_pdf_1.pdf", I'd like to get filename first which is "12345_something.pdf" then get "12345" document number. I'm writing...
  18. GoSooJJ

    write to cookie then download file problem

    Thanks for quick reply feherke ^^. In fact, I removed cookie part and used database to update the increment of number of downloads. This worked fine.
  19. GoSooJJ

    write to cookie then download file problem

    Hi all, I'm trying to increment the number of download cookie before download file action happens(or after) but forcing download is not working anymore. If I run the code separately then it works fine. I think "print cookie" is causing the download file here. Instead to popup the download...
  20. GoSooJJ

    how to disable the Close(X) window button(top right corner)

    Hi, I created window by Glade and python to execute it. Now, I want to make my login window to disabled Close button locate at top right corner(X button). Also Minimize button too. I can't find the solusion this... Oh, I tried "window.set_decorated(FALSE)" to disable the Close Window but this...

Part and Inventory Search

Back
Top