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 TouchToneTommy 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 jackied

  1. jackied

    Print to PCL from Crystal - set filename from code

    Hello. I have posted the same probelm in the VB Win32(API) forum - thread711-918192 - and had no joy. Perhaps a crystal approach is more appropriate. I am trying to print to a PRN file from Crystal. I have set up a PCL printer (HP Laserjet 5 PCL) with FILE: as the port. I have selected this...
  2. jackied

    Intercept Print to File dialog box - SendDlgItemMessage

    Hello. I am trying to print to a PRN file from Crystal. I have set up a PCL printer with FILE: as the port. I have selected this printer in my Crystal template. When I print it, a "Print to File" dialog box appears. I am trying to programmatically add the OuputFile name and click OK. I found...
  3. jackied

    date

    INSERT INTO MyTable (MyDate, ... ) VALUES({ d '#DateFormat(Now(),"yyyy-mm-dd")#' }, ...) would be safer. This way there can be no confusion between month and day.
  4. jackied

    Passing Parameters to Stored Procedures from Cold Fusion

    Hi Tek and pcorreia Thanks, I have re-ordered my parameters so that the output parameters are first, followed by those most likely to be passed, which is saving me quite a bit of parameter passing. However the paramaters passed vary as this stored proc is called from more than one place...
  5. jackied

    Passing Parameters to Stored Procedures from Cold Fusion

    From experience and other threads I could find on the subject, Thread232-137754 Thread232-241900 It seems that you have to pass parameters in the correct order and that you have to pass all parameters explicitly, although some were declared as optional in SQL server. I have a SQL server stored...
  6. jackied

    Maxrows twist

    Hi Chandler. Have you got CF5? If so you can do a query on a query. eg. <CFQUERY name=&quot;qryBottom&quot; datasource=&quot;#DatasourceName#&quot;> SELECT TOP 50 * FROM Table ORDER BY IDNum DESC </CFQUERY> then re-order this by querying the query <CFQUERY name=&quot;qryReOrder&quot...
  7. jackied

    CF5 built-in java applets cause browser to crash

    I'm sorry - I really don't know the answer. If you have a client machine which you can experiment with, it might be worth giving the j2re-1_3_1-win.exe (from the sun site) a try. Uninstall other plug-ins etc. first and then download and run it. You never know!
  8. jackied

    DateDiff conversion question.

    You need to enter the date into ColdFusion in a date format that CF recognises (using slashes,dashes or long date formats), so that Cold Fusion can treat these as dates. The safest way to do this is by using the CeateDate function. <cfset DateEntered = CreateDate(2001,7,12)> <cfset...
  9. jackied

    CF5 built-in java applets cause browser to crash

    OK, now I'm out of my depth. I have also found this whole thing very confusing. I installed that run-time environment on the client, as it was the jvm/plug-in (??) on the client was what was causing the problem. I only ever had that browser crashing problem on clients that had previously been...
  10. jackied

    CF5 built-in java applets cause browser to crash

    Yes, I have. You need to install the Java 2 Runtime Environment v1.3.1 You can download it from http://java.sun.com/j2se/1.3/jre/download-windows.html The file is called j2re-1_3_1-win.exe Also there is an upgrade for the applets that come with CF5. It fixes some problems with the grid and...
  11. jackied

    CF5 built-in java applets cause browser to crash

    Hi there. We have recently installed CF5 and our site uses CFTree and CFGrid. On some clients, loading these applets causes the browser to crash. We are using IE5 or IE5.5. Do we need an updated Virtual Machine? Has anyone else experienced these difficulties? Thanks Jackie
  12. jackied

    #DateDiff(&quot;D&quot;,date, NOW())# &lt;= #Form.Days#

    Hi Barbera. I assume &quot;date&quot; in the DateDiff statement is the field in your database. Whatever is between the cfquery tags is sent to the database to be processed. Because you have hashes around your DateDiff statement, CF will attempt to resolve this before going to the database...
  13. jackied

    session.User_ID not declared properly

    Hi Wouter. Maybe this is too obvious but I notice that you are checking for the existance of the variable session.user_id in: <cfif NOT ISDEFINED (&quot;session.user_id&quot;)> but later set the variable session.UserID <cfset session.UserID = #form.id#> but then use session.user_id in your...
  14. jackied

    Create a Linked Server to a text file

    Hi wesix. I have found out how to do it. The key is to have a schema.ini file in the same folder as the text file which looks a bit like this: [myfile.txt] ColNameHeader=False Format=CSVDelimited MaxScanRows=1 CharacterSet=Ansi Col1=CustID Text Col2=Reference Text Col3=NumberofThings Integer...
  15. jackied

    Create a Linked Server to a text file

    I am trying to create a Linked Server in order to query the contents of a text file in SQL server. I can not seem to see a suitable option in the Provider Name list. Has anyone done this successfully? Could you tell me how you set the Linked Server settings, and if you had to install another...

Part and Inventory Search

Back
Top