RE: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-10 Thread Bill Downall
At 03:46 PM 3/10/2004, you wrote: There has been a change, if I recall correctly. Oterro 3.0 is RDEBUG ON. Chuck Lockwood Chuck DEBUG ON worked for me with 3.0. I think the change was the name and location of the log, from Microrim.log to c:\Oterro.log, as of Oterro version 2.6. Bill

RE: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-10 Thread Chuck Lockwood
-Original Message- From: Bill Downall [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 2:21 PM To: [EMAIL PROTECTED] Subject: RE: Witango-Talk: DBMS Action Select with Limit # or Rows Ben, Actually, it turns out that

RE: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-10 Thread Bill Downall
Ben, Actually, it turns out that Oterro DOES log to the odbc log, it just doesn't show up until you disconnect. I had two 6 Megabyte logs from 2 queries, one was the odbc administrator SQL.log, the other was the Oterro debug oterro.log. Similar details, but slightly different format. No wonder

RE: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-10 Thread Bill Downall
At 10:16 AM 3/10/2004, you wrote: Bill Oterro doesn't log to the ODBC Log. You need to do this: Add the line: DEBUG ON to the Oterro.cfg file. This will create an Oterro.log file in the C:\ directory Ben Johansen - http://www.pcforge.com Authorized Witango & MDaemon Reseller Available for Witango

RE: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-10 Thread Ben Johansen
-Original Message- From: Bill Downall [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 9:24 AM To: [EMAIL PROTECTED] Subject: Re: Witango-Talk: DBMS Action Select with Limit # or Rows What do I do to trace these at the level that would be useful? It's obviously not just the SQL

Re: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-10 Thread Bill Downall
What do I do to trace these at the level that would be useful? It's obviously not just the SQL in the Witango debugging output. When I go into ODBC Administrator and "Start Tracing now" using the default odbctrac.dll, and then hit the Oterro database driver through the Witango application, noth

Re: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-10 Thread Customer Support
-Original Message- From: Bill Downall [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 10:38 AM To: [EMAIL PROTECTED] Subject: RE: Witango-Talk: DBMS Action Select with Limit # or Rows A followup: This definitely was broken in Witango server 5.0 after patch .58 and before patch .65. I

RE: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-09 Thread Fogelson, Steve
Thanks Bill. I thought something was up here. Steve -Original Message- From: Bill Downall [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 10:38 AM To: [EMAIL PROTECTED] Subject: RE: Witango-Talk: DBMS Action Select with Limit # or Rows A followup: This definitely was broken

RE: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-09 Thread Bill Downall
A followup: This definitely was broken in Witango server 5.0 after patch .58 and before patch .65. I have a site still running on .58. A taf that observes the limit and pages groups of 40 just fine in .58 puts the whole result set on the page on a server running .65. I'll send the example taf

RE: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-09 Thread Bill Downall
Steve, This is quite weird! I went to look at my taf that does this just fine, and it doesn't do this just fine anymore! I have a taf that pages in 50s, and has been working great this way with next/previous buttons and your configuration as below, except that at the client site is is Oterro

RE: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-09 Thread Ben Johansen
://www.pcforge.com Authorized Witango & MDaemon Reseller Available for Witango Developement -Original Message- From: Fogelson, Steve [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 11:12 PM To: Witango User Group (E-mail) Subject: Witango-Talk: DBMS Action Select with Limit # or Rows

RE: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-09 Thread Fogelson, Steve
AM To: [EMAIL PROTECTED] Subject: Re: Witango-Talk: DBMS Action Select with Limit # or Rows Steve, Are you using the "builders"? These work fine for me with Oterro 2.6 and 3.0, with the "limit to xx rows" and "previous xx" and "next xx" links, but I have custom

Re: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-09 Thread Bill
Steve, Are you using the "builders"? These work fine for me with Oterro 2.6 and 3.0, with the "limit to xx rows" and "previous xx" and "next xx" links, but I have customized the builder considerably. Bill At 11:12 PM 3/8/2004, you wrote: I am trying to construct a DBMS Select action that will

Re: Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-08 Thread Jason Schulz
Steve, You are probably better doing this with a custom SQL action. What SQL server are you using? J. On 09/03/2004, at 3:12 PM, Fogelson, Steve wrote: I am trying to construct a DBMS Select action that will limit the number of rows retrieved. WITH IMAGINATION Planning, Implementation and Ma

Witango-Talk: DBMS Action Select with Limit # or Rows

2004-03-08 Thread Fogelson, Steve
I am trying to construct a DBMS Select action that will limit the number of rows retrieved. I do a first pass DBMS Select action the first time the taf is executed. The purpose of the first pass is to determine the number of rows that meet the search criteria. I do a second pass DBMS Select actio

Re: Witango-Talk: DBMS action

2003-09-08 Thread Atrix Wolfe
just last year when we were doin that, we also had to use the dummy value so it musta been a pretty recent upgrade (: - Original Message - From: "Bill Downall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 08, 2003 12:25 PM Subject: RE: Wit

RE: Witango-Talk: DBMS action

2003-09-08 Thread Bill Downall
On Mon, 8 Sep 2003 15:26:31 -0400, Ted Wolfley wrote: >Just a side note, I did not use the >0 with my array variable and I still >retrieved all the data. Is this a glitch or just safe coding? Ted, It may have been a recent clever enhancement to Oterro to let us get away with that. I know when

RE: Witango-Talk: DBMS action

2003-09-08 Thread Ted Wolfley
nal Message- From: Atrix Wolfe [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 3:15 PM To: [EMAIL PROTECTED] Subject: Re: Witango-Talk: DBMS action we at one point used alot of this: > SELECT a, bunch, of, columnnames > FROM maintable > WHERE columnvalue IN (<

Re: Witango-Talk: DBMS action

2003-09-08 Thread Atrix Wolfe
ng the subquery format: > SELECT a, bunch, of, columnnames > FROM maintable > WHERE columnvalue IN (SELECT othertablecolumn FROM othertable > WHERE somecolumn = '<@VAR request$varname>' ) and now all is well! - Original Message - From: "Bill Downall&q

Re: Witango-Talk: DBMS action

2003-09-08 Thread Bill Downall
Ted, There is not a performance hit, unless you don't have an index on the column that generates the list. Your best bet, since you are using a direct DBMS action, is a sub-query: SELECT a, bunch, of, columnnames FROM maintable WHERE columnvalue IN (SELECT othertablecolumn FROM othertabl

Witango-Talk: DBMS action

2003-09-08 Thread Ted Wolfley
Hi, I am using a DBMS action to retrieve rows from a Rbase database. In the SQL select code, I am using the IN syntax to retrieve each row's key field that matches the list of key fields retrieved from another table. It works with 5 key fields in the list and I am wondering if there is a limit o

RE: Witango-Talk: DBMS action

2003-08-04 Thread Ben Johansen
/WitangoGoodies.htm -Authorized Alt-N Reseller http://www.pcforge.com/AltN.htm -Original Message- From: Ted Wolfley [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 1:50 PM To: [EMAIL PROTECTED] Subject: Witango-Talk: DBMS action Hi, Does any one know if there is a performance difference

RE: Witango-Talk: DBMS action

2003-08-04 Thread Ben Johansen
-Authorized Alt-N Reseller http://www.pcforge.com/AltN.htm -Original Message- From: Ted Wolfley [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 1:50 PM To: [EMAIL PROTECTED] Subject: Witango-Talk: DBMS action Hi, Does any one know if there is a performance difference between a search

Witango-Talk: DBMS action

2003-08-04 Thread Ted Wolfley
Hi, Does any one know if there is a performance difference between a search action and dbms action? Ted TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

RE: Witango-Talk: DBMS Action

2003-02-18 Thread Bill Downall
On Tue, 18 Feb 2003 15:25:44 -0600, Eric Weidl wrote: >That is incorrect. Eric, Maybe I didn't explain clearly enough, but it was definitely not incorrect . Steve's got a handle on what you are talking about. He would like to be able to "not include if empty" a JOIN condition between tables.

RE: Witango-Talk: DBMS Action

2003-02-18 Thread Eric Weidl
At 01:46 PM 2/18/2003, you wrote: On Tue, 18 Feb 2003 13:24:22 -0600, Fogelson, Steve wrote: >I guess I was wondering how the "Incl. Empty" option in the "criteria" of a >"search" action could be related to a DBMS. I understand this option (if set >to false) to not include a criteria if null. No

RE: Witango-Talk: DBMS Action

2003-02-18 Thread Bill Downall
On Tue, 18 Feb 2003 13:24:22 -0600, Fogelson, Steve wrote: >I guess I was wondering how the "Incl. Empty" option in the "criteria" of a >"search" action could be related to a DBMS. I understand this option (if set >to false) to not include a criteria if null. No, those settings deal with data t

RE: Witango-Talk: DBMS Action

2003-02-18 Thread Fogelson, Steve
option (if set to false) to not include a criteria if null. Maybe I don't understand it correctly. Steve Fogelson -Original Message- From: Bill Downall [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 12:41 PM To: [EMAIL PROTECTED] Subject: Re: Witango-Talk: DBMS Action

Re: Witango-Talk: DBMS Action

2003-02-18 Thread Bill Downall
Steve, You can build your complete SQL in variables in a results action, modifying the SELECT list, the FROM list, and the WHERE conditions according to some IF conditions. Of course, you will have to SELECT the ov_id3 column from the appropriate BASKET row first, to set up your if conditions.

RE: Witango-Talk: DBMS Action

2003-02-18 Thread Wilcox, Jamileh
ngo User Group (E-mail) > Subject: Witango-Talk: DBMS Action > > > In the following DBMS action, b2.OV_ID3 may be null. Is there > a way in the WHERE clause to not include "AND (o5.OV_ID = > b2.OV_ID3)" if "b2.OV_ID3 is null". > > If so, would it also be ne

Witango-Talk: DBMS Action

2003-02-17 Thread Fogelson, Steve
In the following DBMS action, b2.OV_ID3 may be null. Is there a way in the WHERE clause to not include "AND (o5.OV_ID = b2.OV_ID3)" if "b2.OV_ID3 is null". If so, would it also be neccessary to not include "o5.OV_Name as `Option3`" in the SELECT clause? If so, how would I eliminate this? Thanks