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 Wanet Telecoms Ltd 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 NoWayIsThisInUse

  1. NoWayIsThisInUse

    cfcontent in MX 7 for a PDF - not working

    I have a site that has been able to view PDFs from links for the last 4 years. That is, until I upgraded to MX 7. I understand I now need to add the cfheader command above the cfcontent command, such as this: <CFHEADER NAME="content-disposition" VALUE="inline;filename=#mFile#"> <CFCONTENT...
  2. NoWayIsThisInUse

    @@identity

    I found some other code that has a couple of subtle differences. The variable in the "AS" does not have single quotes and then after the query it sets the variable and doesn't use it directly. Hope this helps someone else. <CFQUERY name="SetupGroup" datasource="#ds#"> SET NOCOUNT ON INSERT...
  3. NoWayIsThisInUse

    @@identity

    How do I pass the identity variable back to the page? <cfquery name="x"....> insert blah blah select @@identity AS 'Whatever' </cfquery> If I say: <cfset y = #x.whatever#> it's undefined.
  4. NoWayIsThisInUse

    self close a popup box or window...

    There's a timer function that you can call and then if time is up, you close it in code on that page
  5. NoWayIsThisInUse

    align= variable -- How?

    Thanks!
  6. NoWayIsThisInUse

    align= variable -- How?

    What's the most efficient way to have the align= be either 'center' or 'right' depending on whether the value is a number or text? I want numbers right aligned and "None found" to be centered, for example. <td bgcolor='##EEEEEE' align='right' width='100'>#MaybeANumberMaybeText#</td>
  7. NoWayIsThisInUse

    How do I disable the Back button on a form?

    Just wondering: When using the hidden fields (as described above), if you go to page 3 and then hit the back button to page 2, does page 2 have page 1's form fields hidden... or if you then forward to page 3, does it have 2's hidden?
  8. NoWayIsThisInUse

    How do I disable the Back button on a form?

    Yeah, I thought about the popup window after I submitted this question, too. And Rudy is really correct in saying to design it so that it doesn't matter. What my problem really is is that I have a two-step form... one form leads to the second. People do the first form and I'm inserting a...
  9. NoWayIsThisInUse

    How do I disable the Back button on a form?

    I've looked through the FAQs and couldn't really find the answer to this. How do I disable the Back button when I'm on a particular form? I don't want the user to leave the form without either clicking on Submit or Cancel. I think I need to use Javascript and redirect back to the current...
  10. NoWayIsThisInUse

    How do I add a Header to a report?

    Does anyone have an example of a simple header to appear on each printed page? I just want to have a client's name at the top of each page on an html report (in ColdFusion 5.0) for IE 6+ users. I found the following on www.webreference.com, but it's a bit more than what I need. (It does a Page...
  11. NoWayIsThisInUse

    Will ColdFusion 4.5 work on Server 2003?

    I was told it won't. Anyone else heard that?
  12. NoWayIsThisInUse

    Append From Data Not There

    Thanks all for your help. It turns out that there is nothing wrong ith Fox at all and that it was me. Imagine that! There was a routine I failed to see that occurred after it in the code. I'm an idiot, but at least I have 20 years experience. What a humbling profession.
  13. NoWayIsThisInUse

    How to display &quot;Yes&quot; instead of .T.?

    Create a YesNo() function and pass the field or value as a parameter. You can also check for values of 0 or greater this way (zero = "No" and 1 or more = "Yes").
  14. NoWayIsThisInUse

    Append From Data Not There

    Yes, both structures are exactly the same. And certainly that is the case when using the "Select * from &tabname into table tmpTable". The tables themselves are denormalized and therefore have names such as "Shift_nm1", "Shift_nm2"... up to "Shift_nm7" and each having 30 characters. The fields...

Part and Inventory Search

Back
Top