[U2] re: [u2] DCOUNT

2006-01-06 Thread Stuart Boydell
Haven't seen anyone mention vector functions here. Do many people use them? In situations where you are performing identical operations on every value in a dynamic array, I rekon vector functions are a more efficient way of handling multivalues then dcount/loop constructs. A simple example of

Re: [U2] DCOUNT

2006-01-06 Thread Mark Johnson
styles is gleened from that vast experience of inheriting both good and bad code examples and keeping the best. Thanks Mark Johnson - Original Message - From: "Bob Woodward" <[EMAIL PROTECTED]> To: Sent: Friday, January 06, 2006 11:42 AM Subject: RE: [U2] DCOUNT > Cor

RE: [U2] DCOUNT

2006-01-06 Thread BNeylon
IMHO it is a bad habit to get into. Bruce M Neylon Health Care Management Group "Marilyn Hilb" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 01/06/2006 12:07 PM Please respond to u2-users To: cc: Subject: RE: [U2] DCOUNT Which is

RE: [U2] DCOUNT

2006-01-06 Thread Kevin King
I'd like to second BobW in NOT using DCOUNT in a FOR line. Certainly when the count is small the overhead is also small, but how many times are we DCOUNTing with certainty that we know the count is less than a particular threshold? Whether the count is zero or higher, I believe it's always better

RE: [U2] DCOUNT

2006-01-06 Thread gerry-u2ug
Absolutely correct -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent: January 6, 2006 11:43 To: u2-users@listserver.u2ug.org Subject: RE: [U2] DCOUNT Correct me if I'm wrong but does this method not require the DCOUNT function

RE: [U2] DCOUNT

2006-01-06 Thread Marilyn Hilb
Which is why he said "no more than ten". -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent: Friday, January 06, 2006 10:43 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] DCOUNT Correct me if I'm

RE: [U2] DCOUNT

2006-01-06 Thread Bob Woodward
off chance that you use it on a large number of values somewhere else. BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serguei Sent: Friday, January 06, 2006 6:02 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] DCOUNT I personally would eve

Re: [U2] DCOUNT

2006-01-06 Thread Serguei
: Thursday, January 05, 2006 5:21 AM Subject: [U2] DCOUNT > I'm finding that I'm doing a lot of programming for the processing through > multi-valued attributes. > > I'm wondering if the method I'm using is the best way to determine the last > element. > >

Re: [U2] DCOUNT

2006-01-06 Thread TPellitieri
Mark Johnson <[EMAIL PROTECTED]> wrote on Thu, 5 Jan 2006 00:21:37 -0500 > I'm finding that I'm doing a lot of programming for the processing > through multi-valued attributes. > > I'm wondering if the method I'm using is the best way to determine > the last element. > > LAST=DCOUNT(REC<15>,@VM) >

RE: [U2] DCOUNT

2006-01-06 Thread Ross Ferris
t;efficient", error-free, local-standards compliant code, resulting in faster development, and easier maintenance & enhancements >> Ross Ferris Stamina Software Visage > Better by Design! >-Original Message- >From: [EMAIL PROTECTED] [mailto:owner-u2- >[EMAIL PROTEC

RE: [U2] DCOUNT

2006-01-06 Thread Anthony Dzikiewicz
-users@listserver.u2ug.org Subject: [U2] DCOUNT I'm finding that I'm doing a lot of programming for the processing through multi-valued attributes. I'm wondering if the method I'm using is the best way to determine the last element. LAST=DCOUNT(REC<15>,@VM) FOR I=1 TO LAS

Re: [U2] DCOUNT

2006-01-06 Thread Symeon Breen
If we where obj orientated we could have REC<15>.dcount but alas no On 1/6/06, Larry Hiscock <[EMAIL PROTECTED]> wrote: > Mark Johnson wrote: > > > REMOVE doesn't give you the MV counter for the associated fields > > by itself. You have to manage separately and hope to keep in sync. > > Tha

RE: [U2] DCOUNT

2006-01-06 Thread Larry Hiscock
Mark Johnson wrote: > REMOVE doesn't give you the MV counter for the associated fields > by itself. You have to manage separately and hope to keep in sync. > That's more code. You can do multiple removes on different MV strings instead of keeping a counter and referencing the associated fields a

RE: [U2] DCOUNT

2006-01-05 Thread Jim Garratt
t; To: u2-users@listserver.u2ug.org > Subject: [U2] DCOUNT > > > I'm finding that I'm doing a lot of programming for the processing through > multi-valued attributes. > > I'm wondering if the method I'm using is the best way to > determine the las

Re: [U2] DCOUNT

2006-01-05 Thread Bruce Nichol
Goo'day, Mark, At 00:21 05/01/06 -0500, you wrote: I'm finding that I'm doing a lot of programming for the processing through multi-valued attributes. I'm wondering if the method I'm using is the best way to determine the last element. LAST=DCOUNT(REC<15>,@VM) FOR I=1 TO LAST (process somethi

[U2] DCOUNT

2006-01-05 Thread Mark Johnson
I'm finding that I'm doing a lot of programming for the processing through multi-valued attributes. I'm wondering if the method I'm using is the best way to determine the last element. LAST=DCOUNT(REC<15>,@VM) FOR I=1 TO LAST (process something) NEXT I There was a REMOVE thread a few months ago