Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Problem with CASE statement: msg#00090

db.dataperfect.general

Subject: Re: Problem with CASE statement

I think the same problem exists here. When the user enters "I" it gets
changed to "Statutory Instrument" which then triggers the formula to update
the field again, and since the first letter is now "S" it changes again to
"Statute".

Will switching the order of the statements change this?

I think two fields will be needed here also. Or you could change to
something like this:

P3F3 CASES
CASE CV ="S" OF "S - Statute" ENDOF
CASE CV ="I" OF "I - Statutory Instrument" ENDOF
DEFAULT ""
ENDCASES

Assuming that it doesn't cause a problem to have the indicator letter within
the field.

Tim Rude

----- Original Message -----
From: "Ralph Alvy" <ralvy-jRiKDUx9DOfk1uMJSBkQmQ@xxxxxxxxxxxxxxxx>
To: "DataPerfect Users Discussion Group"
<dataperf-Ii8YPGKeNuMyuW1uK6fEew@xxxxxxxxxxxxxxxx>
Sent: Wednesday, August 16, 2006 11:00 AM
Subject: Re: [Dataperf] Problem with CASE statement


> On Wednesday 16 August 2006 07:03, Victor Warner wrote:
> > also in the following CASE statement:
> >
> > P3F3 CASES
> > CASE CV ="S" OF "Statute" ENDOF
> > CASE CV ="I" OF "Statutory Instrument" ENDOF
> > DEFAULT ""
> > ENDCASES
> >
> > entering "I" produces the text for "S".
> >
> > Help with this would be very gratefully received.
>
> Try switching the order of the statements to this:
>
> P3F3 CASES
> CASE CV ="I" OF "Statutory Instrument" ENDOF
> CASE CV ="S" OF "Statute" ENDOF
> DEFAULT ""
> ENDCASES
> _______________________________________________
> Dataperf mailing list
> Dataperf-Ii8YPGKeNuMyuW1uK6fEew@xxxxxxxxxxxxxxxx
> http://lists.dataperfect.nl/mailman/listinfo/dataperf
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo