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 Chriss Miller 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 BetterLateThanNever

  1. BetterLateThanNever

    Passing structures to external functions

    Hi, This thread Thread144-343115 might help. Cheers.
  2. BetterLateThanNever

    java.lang.outofmemory - but where?

    Hi, Have a look at: http://www.javaworld.com/javaworld/jw-03-2000/jw-0324-javaperf_p.html Cheers.
  3. BetterLateThanNever

    PB Tracing Utility

    Hi, There is a profiling tool available from with PB. Look in the help files under 'profiling'. Use the database profiling tools for the SQL, or use the trace log made available by the ODBC drivers. This can be accessed with in the ODBC administration program. Cheers
  4. BetterLateThanNever

    SQL Server Stored Procedure error

    Hi, Try altering the CallEscape and DisableBind parameters for the DBParm attribute of the transaction object. They take the following values: CallEscape : 'Yes'/'No' DisableBind : 0/1 itr_source.DBParm = "DisableBind=1,CallEscape='No',ConnectString='DSN=DBdsn;UID=DBA;PWD=SQL'" Cheers
  5. BetterLateThanNever

    pbo7360.dll 05/14/1999 Version

    Hi, Is there any reason why you cannot upgrade entirely to 6.5.1? I remember this being a more stable product than 6.0 Cheers.
  6. BetterLateThanNever

    Successful SQL Update with negative return...

    Hi, Check the class of the variable holding your count - integers can only count up to 32768. Cheers.
  7. BetterLateThanNever

    Attaching and sending a composite datawindow report in PowerBuilder

    Hi, PB will sensibly export a composite datawindow when you use a SaveAs type of PSReport!. There are a number of PSR viewers available as freeware. See the usage notes in the PB help on SaveAs Cheers.
  8. BetterLateThanNever

    text, ntext, or image data type cannot be selected as Distinct????

    Hi, Try specifying a length in your cast/convert. What I meant was if you know for a fact that the users will only ever enter 2000 characters (or whatever) you could safely specify a limit on the conversion. If none of this works you may need to use a composite datawindow, and retrieve the...
  9. BetterLateThanNever

    text, ntext, or image data type cannot be selected as Distinct????

    Hi, Ignore the previous post, I've just read your post correctly now. A basic UNION will perform a DISTINCT anyway, because by default the UNION operator returns the unique rows unless you specifiy UNION ALL. So the SQL is trying to do a unique operation on the text column and failing. You...
  10. BetterLateThanNever

    Error: CORBA system exception

    Hi, I have no idea about this other than: do you have the EASDemoDB database installed? Cheers.
  11. BetterLateThanNever

    text, ntext, or image data type cannot be selected as Distinct????

    Hi, Are any of the columns being retrieved of type text, ntext or image? Do you get a different result if you specify UNION ALL? Cheers.
  12. BetterLateThanNever

    Deleting all Files from a specified DIR in FTP

    Hi, If you start your ftp session with the -i command line argument you will turn off interactive prompts. Then your mdelete will not ask for confirmation. http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/proddocs/ftp.asp Cheers.
  13. BetterLateThanNever

    Modifying SQL in a Composite datawindow Report object

    Hi, Couldn't you then have two arguments to the datawindow: al_high and al_low and have your SQL in the child datawindow as SELECT * FROM x WHERE x.num >= al_low and x.num <= al_high then programmatically decide how to populate the arguments i.e. if only one value is supplied, populate both...
  14. BetterLateThanNever

    Modifying SQL in a Composite datawindow Report object

    Hi, Sorry, I meant child datawindow not datastore. So your datawindowchild dataobject possibly could be driven from a stored procedure, which could use a variety of methods to construct its own query sql (say from temporary tables populated with the users' choices) which would then return the...
  15. BetterLateThanNever

    Modifying SQL in a Composite datawindow Report object

    Hi, Maybe you could use a stored procedure to drive your child datastore and pass relevant arguments. Not that I've tried that, mind. Cheers.

Part and Inventory Search

Back
Top