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 SkipVought 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. 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.
  16. BetterLateThanNever

    How do I Initiate MS Windows Shutdown With PB Script

    Hi, Have a look at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/exitwindows.asp You'll need to code an external function declaration for this: Function boolean ExitWindowsEx (Long dwOptions, Long dwReserved) Library &quot;user32&quot; Alias For...
  17. BetterLateThanNever

    DataWindow

    Hi, Une des options en éditant le datawindow SQL sera obligé à déclarer les arguments de récupération. Ceux-ci sont fournis au datawindow comme ceci: dw_1.Retrieve(arg1, arg2). Cheers
  18. BetterLateThanNever

    Can I cast a String to a BOOLEAN in PB 7 ??

    Hi, Try something like: boolean lb_Value lb_Value = (String(a_local_datastore.object.field_name[1])=&quot;YES&quot;) struct.boolean = lb_Value Cheers
  19. BetterLateThanNever

    popup window

    Hi, Use a window of type popup, but after opening it, setfocus() back to the main window i.e. (this code is in a button on the main window) open(w_popup) parent.setfocus() You can position the popup in its open event. Cheers
  20. BetterLateThanNever

    Database access problem.

    Hi, If I understand you correctly you are using the application to enforce user data rights. If this is the case, and your users are not restricted at the database side then there is not a lot you can do about &quot;backdoor access&quot;. To control the users via any connection i.e. at the...

Part and Inventory Search

Back
Top