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 Shaun E 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: jianhua
  • Content: Threads
  • Order by date
  1. jianhua

    How to invoke a component in Perl?

    Hi! I'm a coldfusion programmer and know nothing about Perl. We've created a web service component in cfmx and we have a client who is trying to invoke this component via Perl. Can anybody show me the basic code to invoke a component in Perl? Thanks in advance!
  2. jianhua

    Whitespace in cfmail

    Hi, Did anyone have this experience: when cf tag is inside cfmail, it generates big blank spaces in the mail? For example: <cfmail ...> <cfif ...> #myTest# </cfif> body content here... </cfmail> Receiver gets email with big blank spaces between #myTest#. When I move <cfif>...
  3. jianhua

    Pop up a message when users are trying to leave the web page

    Hello, I'm working on the online open enrollment now and it contains several pages or we can say several cfm files. On every page, we have links to link to other sections. I want to alert my users if they are trying to leave the open enrollment pages with the job half way done. How can I do it...
  4. jianhua

    Send email with attachment from word document

    Hello, I want to create a command button on a word document. When a user fills in the form fields of this word document and clicks the button, the word file with data is saved and sent as attachment to certain recipient(s). Can I do this? If yes, how? Thanks in advance! jianhua
  5. jianhua

    Radio buttons on microsoft word

    Hi, I'm creating form fields on a microsoft word document and I want to protect the document so that users can only fill in the form fields, and not change anything on the document. What I'm doing is: create form fields via form tools (view --> toolbars --> forms) and then protect the document...
  6. jianhua

    Error Executing Database Query

    We are using cfstoredproc tags and they have been working fine for a couple of years. The back end is SQL server 2000. Currently we're doing an upgrade from cf4.5 to cfmx, and having problems with executing database query. The error message is: The Error is Error Executing Database Query...
  7. jianhua

    CFgrid's problem

    We're doing an upgrade from cf4.5 to cfmx, and having problems with cfgrid. Does anyone know how to fix it? Thanks in advance! Jianhua
  8. jianhua

    Replication question

    Hi I've created a snapshot replication to copy a couple of tables from one database to another in the same server. I scheduled to run it at 2:00 am daily. The problem is that the job doesn't run as scheduled. If I click &quot;start synchronizing&quot;, it runs and the tables are replicated...
  9. jianhua

    Print form with checkmarks if they are checked

    How to print a form with the checkmarks if the fields (checkbox) are checked? I have trouble printing the checkmarks. For example: an html form with several checkboxes - if the user checkes some of the fields and wants to print the form as a record before he submits the form, why all the...
  10. jianhua

    Print checkmarks...

    This is not a cf question, but I hope someone here can help me. The problem is &quot;Why aren't the checkmarks in the checkboxes shown on paper when printing the html form?&quot;. Thanks in advance!!
  11. jianhua

    Problem of printing checkmarks...

    Please help... Why aren't the checkmarks in the checkboxes shown on paper When printing an html form? How to solve that? Thanks in advance!!
  12. jianhua

    Another problem of Confirm box

    This time I want to validate several select boxes on a form. If everything is all right, I want the confirm box pops up. If yes, submit the form; if cancel, do not do anything. The validation part is working. My code is as follows. But how can I add the confirm box to it, I mean the logic...
  13. jianhua

    Confirm box

    I want to use a javascript to validate a form. After everything is all right, a confirm box pops up to ask whether the user wants to submit the form, if yes, the form is submitted and the database is updated, if no, no change to the database. I use <cfquery> (Cold Fusion) to updtate the...
  14. jianhua

    Unescape comma

    Hi, I tried to validate a text field to see whether the string contains a comma or not. If there is no comma in that string, alert box appears. Now the problem is that I cannot unescape comma. My code is as follows: function upd_info(f){ var err = true; for (var i=0; i <...
  15. jianhua

    Catch comma (,) in a string

    Hi, I have a form field with both the first name and the last name. The format is &quot;last name, first name&quot;. When users update the field, I want to validate it and catch the error if comma is missing. Either javascript or cold fusion will be ok. I tried both, the problem was that comma...
  16. jianhua

    Locking application and session variables

    Hi, Do I need to lock every <cfquery> if the query's datasourse is #application.ds# and there is a session variable within the query such as where job_id = #session.job_id#? The code would be: <cflock scope=&quot;application&quot; type=&quot;readonly&quot; timeout=&quot;10&quot;> <cflock...
  17. jianhua

    Loop on each click of a button

    Here is what I want to do – something like the features of cfgrid, but I want to do it in regular form to edit the dependents info of a particular employee. I run a query to get the existing dependents info of a particular employee and display them in a table. Dep1 name1 birthdate1 gender1 …...
  18. jianhua

    Validate select elements...

    Given: 1. query authors and books from database. 2. display the results in select drop-down boxes with <cfoutput query=&quot;queryName&quot; group=&quot;groupName&quot;> 3. the default of each drop-down box is blank. Question: How can I validate the select drop-down boxes and only one book can...
  19. jianhua

    How to send multiple attachments with cfmail...?

    I have a project to send mass email. The problem is how to send multiple attachments with this mass email. Any suggestions...? jianhua
  20. jianhua

    Is it possible to open PDF files physically located in another machine

    Hi, I have some sensitive PDF files and they are physically located in another machine. Is it possible to open them by drive mapping and using cf tags like <cfcontent>? For example: My cf template files are in drive C, my pdf files are in drive E (drive mapping). Can I open the PDF files by...

Part and Inventory Search

Back
Top