RE: HTML help

2003-11-17 Thread Jim Davis
Actually the title attribute IS a part of the HTML specification:

 
http://www.w3.org/TR/html4/struct/global.html#adef-title

 
Although by the logic presented I would wonder why Netscape supports the
"layer" tag, the "spacer" tag, the "multicol" tag and many others.

 
Get off the high horse - Netscape is no better than MS at standards
support.

 
Jim Davis

 
-Original Message-
From: Chris Montgomery [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:25 PM
To: CF-Talk
Subject: Re: HTML  help

 
Monday, November 17, 2003, 2:57:24 PM, Richard Crawford wrote:

> The reason why Netscape (and other Mozilla-based browsers) won't do
> "tooltips" via the title attribute of the anchor tag is that the title
> attribute is NOT a part of the HTML specification.

I haven't installed Netscape since about version 4.79, but my anchor
tags DO display tooltips from the title attributes in Moz/Firebird 0.61.
I believe they were also doing that in Moz version 1.3/1.4 before I
switched exclusively to Firebird.

-- 
Chris Montgomery
Airtight Web Services   http://www.airtightweb.com
Web Development, Web Project Management, Software Sales
210-490-2415

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: HTML help

2003-11-17 Thread Chris Montgomery
Monday, November 17, 2003, 2:57:24 PM, Richard Crawford wrote:

> The reason why Netscape (and other Mozilla-based browsers) won't do
> "tooltips" via the title attribute of the anchor tag is that the title
> attribute is NOT a part of the HTML specification.

I haven't installed Netscape since about version 4.79, but my anchor
tags DO display tooltips from the title attributes in Moz/Firebird 0.61.
I believe they were also doing that in Moz version 1.3/1.4 before I
switched exclusively to Firebird.

-- 
Chris Montgomery
Airtight Web Services   http://www.airtightweb.com
Web Development, Web Project Management, Software Sales
210-490-2415

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Inserting rows into a 2d array

2003-11-17 Thread Joe Eugene
Doug,

I read through the emails but I am not quite understanding what you are
trying to accomplish..
You have a data set like...

locationID  cityName
1  AAA
2  AA
3  BB

You want to take the above and populate into an array and put some spaces
between
A and B sorted? You already have the data sorted from the database..

You can loop through the resultset alphabetically and create a 2D Array,
where each
position only contains the first Aphabet.

my2DArray[1] = will contain all "A" Starting cityNames or whatever"

my2DArray[2][1] = "SPACE" // IS THIS WHAT YOU WANT?

my2DArray[3] = will contain all "B" Starting cityNames or whatever"

You can simply create a list like
myList = "A, ,B...;

loop over the list and populate your 2 Array

HTH
Joe Eugene
  -Original Message-
  From: DougF [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 7:29 PM
  To: CF-Talk
  Subject: Re: Inserting rows into a 2d array

  Thanks Dave.

  Not having much knowledge of CF arrays I'd be interested in examples of
how
  to go about inserting two associated elements between two other associated
  elements arrays.

  Example:

  [first][1] + [first][2]
  [second][1] + [second][2]

  [first][1] + [first][2]
  [NewElement][1] + [NewElement][2]
  [second][1] + [second][2]

  -Doug

  - Original Message -
  From: "Dave Watts" <[EMAIL PROTECTED]>
  To: "CF-Talk" <[EMAIL PROTECTED]>
  Sent: Monday, November 17, 2003 3:36 PM
  Subject: RE: Inserting rows into a 2d array

  > > The Macromedia documentation skilfully avoids mentioning the
  > > manipulation of multi-dimensioned arrays. It seems that you
  > > can create multi-dimensional arrays but can not manipulate
  > > them (like you can with one dimension arrays). Going to take
  > > another look at manipulating with the display logic... sigh.
  >
  > Sure, you can manipulate multi-dimensional arrays. A multi-dimensional
  array
  > is simply an array that contains arrays in each position.
  >
  > Dave Watts, CTO, Fig Leaf Software
  > http://www.figleaf.com/
  > voice: (202) 797-5496
  > fax: (202) 797-5444


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Inserting rows into a 2d array

2003-11-17 Thread DougF
Thanks Dave.
Just what I was fishing for... As a visual learner I need an example to help
understand the concept.

Here is what I have come up with. Tested, works, and solved my problem.
-


 
 
 





 
  
  
  
  
  
  
 
 


--
- Original Message - 
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 4:46 PM
Subject: RE: Inserting rows into a 2d array

> Something like this might work:
>
> 
> 
> 
> 
> 
>
> 
> 
> 
>
> 
>
> Note that I haven't tested this, exactly, but something close to this
should
> work. You could also create the element in place, then populate it, I
> suspect.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Weird PC Error - Part II

2003-11-17 Thread John Munyan
So it made it through gui mode plug n play it sounds like.  If this is
the case the drivers have been installed for the hardware.  It is
sounding more and more like there is a problem with the hardware itself.
I have experienced a similar behavior with a laptop of mine that would
fairly consistently freeze between hardware identification and component
registration.  It was the hard drive, and the thing which was pissy
about it was that the drive operated near normally so detecting the
problem was difficult.

I would doubt the likelihood of a virus etc causing this behavior.  But
I guess you could try unplugging it from the network and see if it can
make it through the install.  Might be time to cut your loses...and get
it replaced if under warranty. :-(

-Original Message-
From: Doug White [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 6:04 PM
To: CF-Talk
Subject: Re: Weird PC Error - Part II

I don't know if this has anything to do with it or not, but on one
machine  that
I installed XP PRo on, it got to the same point and "seemed to hang"
But I went
to lunch and came back, and found that it had made it past the hang up
point and
went ahead and completed the installation.  The problem is with specific
drivers, especially the correct video driver.  But usually after a
looong wait
time, it will install a default driver, and allow you to update the
driver after
the installation completes.

Once that is done there is about 40 or so updates to install, and there
is a
danger if getting an infection from Blaster/welchia during that process.

I recommend installing an updated A/V program before exposing the
machine to the
internet for the updates.  What I do now is to download all the updates
on
another machine, burn them to CDROM and then apply them before
connecting to the
internet.

==
Stop spam on your domain, use our gateway!
For hosting solutions http://www.clickdoug.com
Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP
==
If you are not satisfied with my service, my job isn't done!

- Original Message - 
From: "ColdFusion Developer" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 7:36 PM
Subject: RE: Weird PC Error - Part II

| It is after the Installation of the devices
| and right after it asked for the keyboard language,
| machine name, as well as the Product Key.
|
| Reminder.. This is a LEGAL fully purchased copy
| of Windows XP.
|
|
|
|
| -- Original Message --
| From: "John Munyan" <[EMAIL PROTECTED]>
| Reply-To: [EMAIL PROTECTED]
| Date:  Mon, 17 Nov 2003 17:24:21 -0800
|
| >At what point does it bomb?  When I have seen machines just 'freeze'
it
| >has been either the memory as someone mentioned or the hard drive, or
| >the drivers associated with the disk subsystem.  Is in doing
installing
| >components, or is it in gui plug and play detection?  If it is in the
| >gui mode detecting hardware it I would think that perhaps there is a
| >hand detecting a piece of hardware it such as the disk controller
etc.
| >
| >
| >
| >
| >
| >
| >
| >-Original Message-
| >From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
| >Sent: Monday, November 17, 2003 3:46 PM
| >To: CF-Talk
| >Subject: Weird PC Error - Part II
| >
| >
| >
| >Well I updated the BIOS and began the reformat process.
| >Formatted with NTFS and then loaded Windows XP back onto the system
| >
| >Yet with the same results, the machine still locks up around 25-26
| >minutes.
| >
| >I can hold the power switch and then when it restarts it will attempt
| >to continue with the installation process but bombs out each time
| >virtually at the same spot.
| >
| >ANy other ideas before I toss the thing out the window???
| >
| >
| >
| >
| 




 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Java Regular Expression editor

2003-11-17 Thread peter . tilbrook
Indeed, thank you Dave!

Peter Tilbrook
Transitional Services - Enterprise eSolutions
Centrelink (http://www.centrelink.gov.au)
2 Faulding Street
Symonston ACT 2609

Tel: (02) 62115927

   
  "Dave Carabetta" 
  <[EMAIL PROTECTED]To:   CF-Talk <[EMAIL PROTECTED]>   
  om>  cc: 
   Subject:  Re: Java Regular _expression_ editor
  18/11/2003 14:54 
  Please respond to
  cf-talk   |
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Java Regular Expression editor

2003-11-17 Thread Dave Carabetta
> Can anyone remember where I can grab that cool Java-based RegEx editor?
> 

This what you're looking for?

http://www.cfregex.com/

Regards,
Dave.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Java Regular Expression editor

2003-11-17 Thread peter . tilbrook
Can anyone remember where I can grab that cool Java-based RegEx editor?

TIA!

Peter Tilbrook
Transitional Services - Enterprise eSolutions
Centrelink (http://www.centrelink.gov.au)
2 Faulding Street
Symonston ACT 2609

Tel: (02) 62115927



Important:  This e-mail is intended for the use of the addressee and may contain information that is confidential, commercially valuable or subject to legal or parliamentary privilege.  If you are not the intended recipient you are notified that any review, re-transmission, disclosure, use or dissemination of this communication is strictly prohibited by several Commonwealth Acts of Parliament.  If you have received this communication in error please notify the sender immediately and delete all copies of this transmission together with any attachments.

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Weird PC Error - Part II

2003-11-17 Thread Doug White
I don't know if this has anything to do with it or not, but on one machine  that
I installed XP PRo on, it got to the same point and "seemed to hang"  But I went
to lunch and came back, and found that it had made it past the hang up point and
went ahead and completed the installation.  The problem is with specific
drivers, especially the correct video driver.  But usually after a looong wait
time, it will install a default driver, and allow you to update the driver after
the installation completes.

Once that is done there is about 40 or so updates to install, and there is a
danger if getting an infection from Blaster/welchia during that process.

I recommend installing an updated A/V program before exposing the machine to the
internet for the updates.  What I do now is to download all the updates on
another machine, burn them to CDROM and then apply them before connecting to the
internet.

==
Stop spam on your domain, use our gateway!
For hosting solutions http://www.clickdoug.com
Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP
==
If you are not satisfied with my service, my job isn't done!

- Original Message - 
From: "ColdFusion Developer" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 7:36 PM
Subject: RE: Weird PC Error - Part II

| It is after the Installation of the devices
| and right after it asked for the keyboard language,
| machine name, as well as the Product Key.
|
| Reminder.. This is a LEGAL fully purchased copy
| of Windows XP.
|
|
|
|
| -- Original Message --
| From: "John Munyan" <[EMAIL PROTECTED]>
| Reply-To: [EMAIL PROTECTED]
| Date:  Mon, 17 Nov 2003 17:24:21 -0800
|
| >At what point does it bomb?  When I have seen machines just 'freeze' it
| >has been either the memory as someone mentioned or the hard drive, or
| >the drivers associated with the disk subsystem.  Is in doing installing
| >components, or is it in gui plug and play detection?  If it is in the
| >gui mode detecting hardware it I would think that perhaps there is a
| >hand detecting a piece of hardware it such as the disk controller etc.
| >
| >
| >
| >
| >
| >
| >
| >-Original Message-
| >From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
| >Sent: Monday, November 17, 2003 3:46 PM
| >To: CF-Talk
| >Subject: Weird PC Error - Part II
| >
| >
| >
| >Well I updated the BIOS and began the reformat process.
| >Formatted with NTFS and then loaded Windows XP back onto the system
| >
| >Yet with the same results, the machine still locks up around 25-26
| >minutes.
| >
| >I can hold the power switch and then when it restarts it will attempt
| >to continue with the installation process but bombs out each time
| >virtually at the same spot.
| >
| >ANy other ideas before I toss the thing out the window???
| >
| >
| >
| >
| 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




BlueDragon 6.1 - CFCs, Web Services, XML - Beta Available

2003-11-17 Thread Vince Bonfanti
New Atlanta is pleased to announce the beta1 release of BlueDragon 6.1,
which is now available for download and testing:

  http://www.newatlanta.com/c/products/bluedragon-beta/download/home

Among the many new features added to BlueDragon 6.1 are:

    - CFCs
    - Web Services
    - XML
    - Tag-based UDFs (CFFUNCTION)
    - Internationalization
    - C++ CFXs
    - JDK 1.4.2
    - Enhanced CF5 Compatibility
    - Performance Enhancements
    - ...and much more!

In addition to these new features, BlueDragon 6.1 adds support for the
following platforms:

    - Windows 2003 / IIS 6.0
    - Mac OS X
    - Apache 2.0
    - Red Hat Linux 9
    - Red Hat Enterprise Linux 2.1

Regards,

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com

 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Weird PC Error - Part II

2003-11-17 Thread ColdFusion Developer
It is after the Installation of the devices
and right after it asked for the keyboard language,
machine name, as well as the Product Key.

Reminder.. This is a LEGAL fully purchased copy
of Windows XP.


-- Original Message --
From: "John Munyan" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Mon, 17 Nov 2003 17:24:21 -0800

>At what point does it bomb?  When I have seen machines just 'freeze' it
>has been either the memory as someone mentioned or the hard drive, or
>the drivers associated with the disk subsystem.  Is in doing installing
>components, or is it in gui plug and play detection?  If it is in the
>gui mode detecting hardware it I would think that perhaps there is a
>hand detecting a piece of hardware it such as the disk controller etc.
>
> 
>
> 
>
> 
>
>-Original Message-
>From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>Sent: Monday, November 17, 2003 3:46 PM
>To: CF-Talk
>Subject: Weird PC Error - Part II
>
> 
>
>Well I updated the BIOS and began the reformat process.
>Formatted with NTFS and then loaded Windows XP back onto the system
>
>Yet with the same results, the machine still locks up around 25-26
>minutes.
>
>I can hold the power switch and then when it restarts it will attempt
>to continue with the installation process but bombs out each time
>virtually at the same spot.
>
>ANy other ideas before I toss the thing out the window???
>
>
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Weird PC Error - Part II

2003-11-17 Thread Brook Davies
Then buy a new strip, or take one from another machine. I've had very 
similar problems due to bad memory. And it was brand new.

Brook

At 05:03 PM 11/17/2003, you wrote:
> > ANy other ideas before I toss the thing out the window???
>
>You might try removing some of the memory, if possible. Sometimes, memory
>chip defects manifest themselves in odd ways.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444
>
>--
>[
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Weird PC Error - Part II

2003-11-17 Thread ColdFusion Developer
I have ran a Hard Drive diagnostics test utility and the Quick
Test came back just fine. The Advanced test is almost done and does
not seem to be anything wrong there either.

So now I am a bigger loss as to why i can not install Windows
XP without the machine locking up.


-- Original Message --
From: "ColdFusion Developer" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Mon, 17 Nov 2003 19:59:22 -0500

>unable to do that since there is only the one strip
>
>
>-- Original Message --
>From: Dave Watts <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>Date:  Mon, 17 Nov 2003 20:03:02 -0500
>
>>> ANy other ideas before I toss the thing out the window???
>>
>>You might try removing some of the memory, if possible. Sometimes, memory
>>chip defects manifest themselves in odd ways.
>>
>>Dave Watts, CTO, Fig Leaf Software
>>http://www.figleaf.com/
>>voice: (202) 797-5496
>>fax: (202) 797-5444
>>
>>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




BlueDragon 6.1 Server Preview Release

2003-11-17 Thread peter . tilbrook
   
 New Atlanta now have a beta version of BlueDragon 6.1 available that not only follows CFMX's  
 version numbering but also adds some of the MX-specific features like CFCs, web services and XML  
 processing. I think this is a good indication that the CF community really do like these features 
 (New Atlanta previously said they wouldn't add CFC support because they didn't believe folks were 
 really going to use them). It also further validates the enhancements Macromedia has made to  
 ColdFusion!   
   

Peter Tilbrook
Transitional Services - Enterprise eSolutions
Centrelink (http://www.centrelink.gov.au)
2 Faulding Street
Symonston ACT 2609

Tel: (02) 62115927



Important:  This e-mail is intended for the use of the addressee and may contain information that is confidential, commercially valuable or subject to legal or parliamentary privilege.  If you are not the intended recipient you are notified that any review, re-transmission, disclosure, use or dissemination of this communication is strictly prohibited by several Commonwealth Acts of Parliament.  If you have received this communication in error please notify the sender immediately and delete all copies of this transmission together with any attachments.

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Weird PC Error - Part II

2003-11-17 Thread John Munyan
At what point does it bomb?  When I have seen machines just 'freeze' it
has been either the memory as someone mentioned or the hard drive, or
the drivers associated with the disk subsystem.  Is in doing installing
components, or is it in gui plug and play detection?  If it is in the
gui mode detecting hardware it I would think that perhaps there is a
hand detecting a piece of hardware it such as the disk controller etc.



-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:46 PM
To: CF-Talk
Subject: Weird PC Error - Part II

Well I updated the BIOS and began the reformat process.
Formatted with NTFS and then loaded Windows XP back onto the system

Yet with the same results, the machine still locks up around 25-26
minutes.

I can hold the power switch and then when it restarts it will attempt
to continue with the installation process but bombs out each time
virtually at the same spot.

ANy other ideas before I toss the thing out the window???




 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Weird PC Error - Part II

2003-11-17 Thread ColdFusion Developer
unable to do that since there is only the one strip

-- Original Message --
From: Dave Watts <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Mon, 17 Nov 2003 20:03:02 -0500

>> ANy other ideas before I toss the thing out the window???
>
>You might try removing some of the memory, if possible. Sometimes, memory
>chip defects manifest themselves in odd ways.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Weird PC Error - Part II

2003-11-17 Thread Dave Watts
> ANy other ideas before I toss the thing out the window???

You might try removing some of the memory, if possible. Sometimes, memory
chip defects manifest themselves in odd ways.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Weird PC Error - Part (RETRACTED)

2003-11-17 Thread adkinsr
Sorry was suppose to go to CF-COMMUNITY
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Weird PC Error - Part II

2003-11-17 Thread adkinsr
Well I updated the BIOS and began the reformat process.
Formatted with NTFS and then loaded Windows XP back onto the system

Yet with the same results, the machine still locks up around 25-26 minutes.

I can hold the power switch and then when it restarts it will attempt
to continue with the installation process but bombs out each time
virtually at the same spot.

ANy other ideas before I toss the thing out the window???

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Inserting rows into a 2d array

2003-11-17 Thread Dave Watts
> Not having much knowledge of CF arrays I'd be interested in 
> examples of how to go about inserting two associated elements 
> between two other associated elements arrays.
> 
> Example:
> 
> [first][1] + [first][2]
> [second][1] + [second][2]
> 
> [first][1] + [first][2]
> [NewElement][1] + [NewElement][2]
> [second][1] + [second][2]

Something like this might work:













Note that I haven't tested this, exactly, but something close to this should
work. You could also create the element in place, then populate it, I
suspect.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Inserting rows into a 2d array

2003-11-17 Thread DougF
Thanks Dave.

Not having much knowledge of CF arrays I'd be interested in examples of how
to go about inserting two associated elements between two other associated
elements arrays.

Example:

[first][1] + [first][2]
[second][1] + [second][2]

[first][1] + [first][2]
[NewElement][1] + [NewElement][2]
[second][1] + [second][2]

-Doug

- Original Message - 
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 3:36 PM
Subject: RE: Inserting rows into a 2d array

> > The Macromedia documentation skilfully avoids mentioning the
> > manipulation of multi-dimensioned arrays. It seems that you
> > can create multi-dimensional arrays but can not manipulate
> > them (like you can with one dimension arrays). Going to take
> > another look at manipulating with the display logic... sigh.
>
> Sure, you can manipulate multi-dimensional arrays. A multi-dimensional
array
> is simply an array that contains arrays in each position.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Pushing Timeout Alert to Client.

2003-11-17 Thread peter . tilbrook
Ian, there are a couple of possible solutions in the Macromedia ColdFusion
Exchange:

CF_SessionWatch by Pete Freitag:

Ever wanted an OnSessionEnd event, or a way for users to be asked if they
would like their session to continue just before it times out?

cf_sessionWatch allows you to set a timeout, and uses _javascript_ to create
an event when that timeout occurrs.  The user can then decide if they want
their session extended, it will refresh their session without interrupting
the form they are working on.

CF_TimeOutWarning by Steven Semrau:

Popping up a warning message when the user is about to timeout.  This will
give the user a chance to save their work and refresh the page, before they
lose their information.  The tag uses a mix of ColdFusion and _javascript_ to
accomplish this.

HTH.

Peter Tilbrook
Transitional Services - Enterprise eSolutions
Centrelink (http://www.centrelink.gov.au)
2 Faulding Street
Symonston ACT 2609

Tel: (02) 62115927

    
  Ian Skinner   
  <[EMAIL PROTECTED]To:   CF-Talk <[EMAIL PROTECTED]>   
  source.org>   cc: 
Subject:  Pushing Timeout Alert to Client.  
  18/11/2003 07:26  
  Please respond to 
  cf-talk|
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Mailpart and 6.1

2003-11-17 Thread Stacy Young
Try setting the HTML first then text

Stace

  _  

From: Ryan Mitchell [mailto:[EMAIL PROTECTED] 
Sent: November 17, 2003 6:34 PM
To: CF-Talk
Subject: Mailpart and 6.1

Hello

Having a few issues with some code in 6.1

I have the following cfmail


subject="#removeHTML(arguments.subject)#" charset="iso-8859-1">

#plaintext#



#arguments.header#
#body#
#arguments.footer#




Which is all fine and wonderful The problem is it creates 2 types of
text/plain, one at the top which it should, and one after the html
one...
And hotmail being hotmail decides to take the 2nd one and so I get a
blank
email...

How do I stop this?

Ryan

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Mailpart and 6.1

2003-11-17 Thread Ryan Mitchell
Hello

Having a few issues with some code in 6.1

I have the following cfmail


subject="#removeHTML(arguments.subject)#" charset="iso-8859-1">

#plaintext#



#arguments.header#
#body#
#arguments.footer#




Which is all fine and wonderful The problem is it creates 2 types of
text/plain, one at the top which it should, and one after the html one...
And hotmail being hotmail decides to take the 2nd one and so I get a blank
email...

How do I stop this?

Ryan

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Inserting rows into a 2d array

2003-11-17 Thread Dave Watts
> The Macromedia documentation skilfully avoids mentioning the 
> manipulation of multi-dimensioned arrays. It seems that you 
> can create multi-dimensional arrays but can not manipulate 
> them (like you can with one dimension arrays). Going to take 
> another look at manipulating with the display logic... sigh.

Sure, you can manipulate multi-dimensional arrays. A multi-dimensional array
is simply an array that contains arrays in each position.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CF and strange HTTP 500 error

2003-11-17 Thread Mosh Teitelbaum
Uwe:

A status code of 500 indicates that there was an internal server error...
i.e., something funky happened, probably somewhere in your code.  What is
the code for login.cfm trying to do?  Check the code for any conditional
logic that may be affected by external things (such as cookies, IP Address,
etc).

Or you could post the code here (login.cfm, application.cfm,
onRequestEnd.cfm and any other applicable code) and let us have a look see.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 5:38 PM
To: CF-Talk
Subject: CF and strange HTTP 500 error

Hi list,
I have a strange problem
with a CF-server in an Intranet
of a customer:

User A from city X clicks the following
URL: www.foo.com/login.cfm with
no problem at all.

User B clicks the same URL
from city Y and will
get the following error:
HTTP 500 error (in detailled: -2146893054 (0x80090302))

Any clues how this is going
to get happen ?

On a sitenote: User B can access normal html-pages
from the same web-server without a problem.

Uwe


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CF and strange HTTP 500 error

2003-11-17 Thread Brook Davies
Are you using windows authentication? Or are both users running under the 
Iusr(anonymous) account? If you are using separate windows accounts, then 
you should check that the jrun.dll has permissions for both users.

Brook

At 02:37 PM 11/17/2003, you wrote:
>Hi list,
>I have a strange problem
>with a CF-server in an Intranet
>of a customer:
>
>User A from city X clicks the following
>URL: www.foo.com/login.cfm with
>no problem at all.
>
>User B clicks the same URL
>from city Y and will
>get the following error:
>HTTP 500 error (in detailled: -2146893054 (0x80090302))
>
>Any clues how this is going
>to get happen ?
>
>On a sitenote: User B can access normal html-pages
>from the same web-server without a problem.
>
>Uwe
>
>--
>[
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFMX JRun Servlets - Help!

2003-11-17 Thread Will Blackie
I am running enterprise.

The problem is i really don't know how to setup the servlets, the help supplied by the gateway company (worldpay) mentions how to setup for JRun 4 but they talk about 2 files that don't even exist on my instal of cfmx - servlets.properties & jsm.properties.

I probably just need help with the basic configuration of the files related to JRun because i don't have the JRun admin obviously.  I've seen on the JRun docos on macromedia.com that i should be adding some attributes to web.xml and perhaps a few other config files that JRun uses.

This is what i think i need to get it working:

- Where do i put the servlets (.class) files, can i put them anywhere as long as i specify in the mappings?
- What do i have to map, what files, what are the entries i have to add etc...
- How do i then access the servlets via the web?

Thanks again.

Will

Subject: CFMX JRun Servlets - Help!
From: Ryan Sabir <[EMAIL PROTECTED]>
Date: Mon, 17 Nov 2003 14:54:58 +1100
Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=28726&forumid=4#144259

Heya Will,

Are you running Enterprise or Standard? Unless you are running
Enterprise, then you can't use the included JRUN server to serve
anything but Cold Fusion templates... or thats what I understand
anyway...

What problem are you having, are they license violation errors?

bye

Monday, November 17, 2003, 2:48:24 PM, you wrote:

WB> I'm attempting to setup a credit card gateway (Worldpay - select pro, java)
WB> which requires some servlets to operate.  Basically I'm having trouble
WB> setting them up to run on the version of JRun that comes with CFMX, can
WB> anyone offer a basic tutorial on what/how i have to configure on the server
WB> to achieve this.  I'm running CFMX 6.1 on a Windows 2000 Server if that
WB> helps.  I don't really want to install another servlet server such as tomcat
WB> etc.. since I already have JRun and have heard of others managing to
WB> configure it for similar purposes.

WB> Thanks in advance.

WB> Will

WB> 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CF and strange HTTP 500 error

2003-11-17 Thread cf-talk
Hi list,
I have a strange problem
with a CF-server in an Intranet
of a customer:

User A from city X clicks the following
URL: www.foo.com/login.cfm with
no problem at all.

User B clicks the same URL
from city Y and will
get the following error:
HTTP 500 error (in detailled: -2146893054 (0x80090302))

Any clues how this is going
to get happen ?

On a sitenote: User B can access normal html-pages
from the same web-server without a problem.

Uwe

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Schuster, Steven
This assumes that you never want anything in the 1's place so numbers over
99 are just fubar. If you want any number then I think it would be easy
enough to modify.


#Mid(DecimalFormat(MyNum/100),FindOneOf("DecimalFormat(MyNum/100)",1)+1,Len(
DecimalFormat(MyNum/100)))#

 



#Mid(DecimalFormat(MyNum/100),FindOneOf("DecimalFormat(MyNum/100)",1)+1,Len(
DecimalFormat(MyNum/100)))#


 
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:47 PM
To: CF-Talk
Subject: RE: numberformat

 
0.07 

is what that code shows

sorry.  i thought so too!!

tony

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:45 PM
To: CF-Talk
Subject: RE: numberformat


#DecimalFormat(MyNum/100)#

That will display 7 as .07

Now, if you wanted to parse any passed int that would be easy enough as
well.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:25 PM
To: CF-Talk
Subject: RE: numberformat

im not sure there is another way to do it..the masks
in numberformat() dont produce what you would expect, strange??

tony

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:19 PM
To: CF-Talk
Subject: RE: numberformat

Why not use DecimalFormat()



Steve

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:58 PM
To: CF-Talk
Subject: RE: numberformat

Thanks Robert and all for the suggestions.

Robert O.

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this
and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  

  _  

  _  

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Inserting rows into a 2d array

2003-11-17 Thread DougF
A great CF Array learning experience...

The Macromedia documentation skilfully avoids mentioning the manipulation of
multi-dimensioned arrays. It seems that you can create multi-dimensional
arrays but can not manipulate them (like you can with one dimension arrays).
Going to take another look at manipulating with the display logic... sigh.

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Tony Weeg
0.07 

is what that code shows

sorry.  i thought so too!!

tony

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:45 PM
To: CF-Talk
Subject: RE: numberformat


#DecimalFormat(MyNum/100)#

 
That will display 7 as .07

 
Now, if you wanted to parse any passed int that would be easy enough as
well.

 
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:25 PM
To: CF-Talk
Subject: RE: numberformat

 
im not sure there is another way to do it..the masks
in numberformat() dont produce what you would expect, strange??

tony

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:19 PM
To: CF-Talk
Subject: RE: numberformat

Why not use DecimalFormat()



Steve

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:58 PM
To: CF-Talk
Subject: RE: numberformat

Thanks Robert and all for the suggestions.

Robert O.

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this
and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  

  _  

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Schuster, Steven

#DecimalFormat(MyNum/100)#

 
That will display 7 as .07

 
Now, if you wanted to parse any passed int that would be easy enough as
well.

 
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:25 PM
To: CF-Talk
Subject: RE: numberformat

 
im not sure there is another way to do it..the masks
in numberformat() dont produce what you would expect, strange??

tony

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:19 PM
To: CF-Talk
Subject: RE: numberformat

Why not use DecimalFormat()



Steve

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:58 PM
To: CF-Talk
Subject: RE: numberformat

Thanks Robert and all for the suggestions.

Robert O.

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this
and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  

  _  

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Tony Weeg
thats what i put in my first email, you reiterated perfectly :)

not sure, why about the mask that is...

that was the first question i asked.

tony

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:25 PM
To: CF-Talk
Subject: RE: numberformat

I think what Mr. Orlini  is looking for is something like this.

 

#numberFormat(displayNumber,'.99')#>

 
Now if you wanted to do this in one line, this might work and least in
CFMX

 
#numberFormat((7/100),'99')#>

 
Wow, see the problem here, apparently even though you don't put anything
in
front of the decimal in the mask, you still get a leading Zero.  I guess
you
would have to string process this then.  This is more complex then it
needs
to be.

 
#right(numberformat((7/100),'.__'),len(numberformat((7/100),'.
__')
)-1)#

 
Anybody explain why you couldn't do this with a mask only?

-- 
Ian Skinner 
Web Programmer 
BloodSource 
www.BloodSource.org 
Sacramento, CA 

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 12:58 PM
To: CF-Talk
Subject: RE: numberformat

that code doesnt make sense? what are you trying to show here?

tony

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this
and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  

   _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Access Bumeric datatype syntax

2003-11-17 Thread Dave Watts
> Wouldn't left(account_id, 1) = 9 work?

Not within SQL, if account_id is a numeric column, I don't think.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Pushing Timeout Alert to Client.

2003-11-17 Thread DURETTE, STEVEN J (AIT)
Ian,

 
Long time since we talked.

 
I think that I have a solution to your problem.  It's _javascript_ based.

 
Create the following function in the head section of your page.

 


then in your body tag put: The 5000 in this case is 5 seconds.  setTimeout work on milliseconds. After the user clicks ok the page is automatically redirected. Hope it helps, Steve -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 4:08 PM To: CF-Talk Subject: RE: Pushing Timeout Alert to Client. Interesting Idea, I would set a meta refresh to the time out, or a bit less, that would redirect the user to a "your session has timed out page."  I could see that working. Anybody know any potential problems I might encounter with this.  Right now it just hast to work in IE 5.5 and up, but I would rather not count on that if I don't have too.  So, any problems with doing this in other situations? Maybe with some span/popup blocking tools?  Other Browsers? User settings in these browsers? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 12:57 PM To: CF-Talk Subject: Re: Pushing Timeout Alert to Client. Could you set a meta refresh with a time that is a little smaller than your session timeout and have the refresh handle the warning  you want? -Kore Ian Skinner <[EMAIL PROTECTED]   To: CF-Talk <[EMAIL PROTECTED]>   ource.org>    cc:   Subject: Pushing Timeout Alert to Client. 11/17/2003 02:26 PM Please respond to cf-talk This may not best be done with a CF solution, so I'm open to any suggestions, the simpler the better. BACKGROUND We have a web application working with sensitive HIPPA information.  As one could imagine, we don't really want to keep this information available for very long, so the application session times out, if inactive for a set time. If the session has timed out while open in the browser, any new action by the user causes the application to go to the start.  All this is good as far as it goes, but it would be much nicer to the user, if they receive a warning of the pending and/or past expiration of the application. The main reason for this request, is that the application has some fairly complex data collection forms.  It could be annoying, if a user opens one of these form, gets interrupted by the phone, comes back after the session has expired, enters all the data in the open form in their browser, submits the form to be told by the server: "sorry your session has timed out", then being sent back to the start losing all their work. REQUEST I'm looking for ways I might be able to push, or in someway deliver a warning to the user?  My bank's online banking website does this, and while I hate the bank itself, this is a nice feature.  I'm just not sure how they do it.  How they have a popup window open when the session is about to expire/has expired?  Would this just be done with _javascript_?  How else might this be done?  Some kind of dynamic scheduled task?  Something built in java and/or jsp?  Something one of you has already built and can just give me. *smile* Thanks -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA Confidentiality Notice:  This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message.    _     _   [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Access Bumeric datatype syntax

2003-11-17 Thread Mickael
Wouldn't left(account_id, 1) = 9 work?
  - Original Message - 
  From: Dave Watts 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 1:37 PM
  Subject: RE: Access Bumeric datatype syntax

  > I have a numeric datatype Called Account_ID
  > I need to get all the accounts starting begins with 
  > Account_ID 9 or 6 or any numeric value. I tried Like % 
  > but doesnot work any idea how can get the results. 

  Well, first, if you're going to treat it as a string, it should probably be
  stored as a string.

  That said, if you want to treat a number as a string, you'll have to convert
  it. For example, in SQL Server, you can use CONVERT:

  SELECT ...
  FROM ...
  WHERE CONVERT(char(6), Account_ID) LIKE '9%'

  The above example assumes that Account_ID is a six-digit number; you may
  have to adjust your code accordingly.

  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  voice: (202) 797-5496
  fax: (202) 797-5444


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:HTML

2003-11-17 Thread Stan Winchester
Dwayne,
Try http://www.softcomplex.com/products/tigra_hints/demo.html 
I use a lot of their scripts and love them!
Stan

>Currently I'm using the "title" attribute to show a message that 
>suggest what's behind a link. Some times the message contains as many 
>as 100 words.  The problem i'm having is that the text is only visible 
>for about 5 seconds.  I need for it to remain visible until the mouse 
>roles away. Any suggestions?
>
>
>Dwayne Cole, MS in MIS, MBA
>Florida A&M University
>Certified Advanced ColdFusion Developer
850-591-0212
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Ian Skinner
I think what Mr. Orlini  is looking for is something like this.

 

#numberFormat(displayNumber,'.99')#>

 
Now if you wanted to do this in one line, this might work and least in CFMX

 
#numberFormat((7/100),'99')#>

 
Wow, see the problem here, apparently even though you don't put anything in
front of the decimal in the mask, you still get a leading Zero.  I guess you
would have to string process this then.  This is more complex then it needs
to be.

 
#right(numberformat((7/100),'.__'),len(numberformat((7/100),'.__')
)-1)#

 
Anybody explain why you couldn't do this with a mask only?

-- 
Ian Skinner 
Web Programmer 
BloodSource 
www.BloodSource.org 
Sacramento, CA 

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 12:58 PM
To: CF-Talk
Subject: RE: numberformat

that code doesnt make sense? what are you trying to show here?

tony

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this
and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  

   _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Tony Weeg
im not sure there is another way to do it..the masks
in numberformat() dont produce what you would expect, strange??

tony

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:19 PM
To: CF-Talk
Subject: RE: numberformat

Why not use DecimalFormat()

 


 
Steve

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:58 PM
To: CF-Talk
Subject: RE: numberformat

 
Thanks Robert and all for the suggestions.

Robert O.

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this
and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Tony Weeg
now theres a novel concept...does that perform better in this instance?

nope, cause at the base of the idea...

 

#divideByHundred#

just gives you the same thing.

tony

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:19 PM
To: CF-Talk
Subject: RE: numberformat

Why not use DecimalFormat()

 


 
Steve

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:58 PM
To: CF-Talk
Subject: RE: numberformat

 
Thanks Robert and all for the suggestions.

Robert O.

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this
and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Tony Weeg
nahh...the quotes around divideByHundred are not necessary, in fact
will throw an error.

the correct format for this bit of code would be



but that would give you 0.07, not good.

the way i posted in my previous email is one way, tho'

tony

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 4:15 PM
To: CF-Talk
Subject: RE: numberformat

Should be:

 
 

 
For example: 
 7/100 = 0.07  
mask (#NumberFormat(7,".99")#  should output .07  (right?)

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:58 PM
To: CF-Talk
Subject: RE: numberformat

that code doesnt make sense? what are you trying to show here?

tony

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this
and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Schuster, Steven
Why not use DecimalFormat()

 


 
Steve

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:58 PM
To: CF-Talk
Subject: RE: numberformat

 
Thanks Robert and all for the suggestions.

Robert O.

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Robert Redpath
Should be:

 
 

 
For example: 
 7/100 = 0.07  
mask (#NumberFormat(7,".99")#  should output .07  (right?)

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:58 PM
To: CF-Talk
Subject: RE: numberformat

that code doesnt make sense? what are you trying to show here?

tony

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this
and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: HTML help

2003-11-17 Thread Cantrell, Adam
Ditto on what Bryan said :)

I don't have the exact script you could use, but I wouldn't doubt that
irt.org has what you're looking for. The CF section is pretty weak (they
still link to allaire for documentation), but take a look at the DHTML,
_javascript_, and HTML FAQ's - it's a nice resource to bookmark.

Adam.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 2:43 PM
To: CF-Talk
Subject: Re: HTML  help

Do some _javascript_ searches for things like "Link Tips" "Link Descriptions".
You're looking at a _javascript_/DHTML solution.  You can make super nice
looking link descriptionsbasically a mini web page to display whatever
you want about a link.

I've used this approach in many business reporting apps where screen real
estate is at a premium and a little heads up on what's behind a link saves
the user a tonne of time ;-)

HTH

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Dwayne Cole 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:38 PM
  Subject: HTML  help

  Currently I'm using the "title" attribute to show a message that suggest
what's behind a link. Some times the message contains as many as 100 words.
The problem i'm having is that the text is only visible for about 5 seconds.
I need for it to remain visible until the mouse roles away. Any suggestions?

  Dwayne Cole, MS in MIS, MBA
  Florida A&M University
  Certified Advanced ColdFusion Developer
  850-591-0212


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: HTML help

2003-11-17 Thread Dwayne Cole
Thanks.  This is a fantastic resource.

>http://www.bosrup.com/web/overlib/
> 
>this guy did some really slick stuff with JS / DHTML.
> 
>it's basically a library of tools for displaying highly customizable
>'tooltips'.
> 
>you can change all of the colors, borders, fonts, as well as include
>images etc since the attribute that passes in the content for the layer
>takes HTML.
> 
>check it out.
>
>-chris.alvarado 
>[ application developer ] 
>4 Guys Interactive, Inc. 
>http://www.4guys.com   
>phone: 281.807.4344 x1716 
>fax: 281.807.4384
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Pushing Timeout Alert to Client.

2003-11-17 Thread Douglas.Knudsen
we use this often...it displays a count down in the status window of the browser.  It can be setup to redirect when the timer runs out.  

 


-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 3:57 PM To: CF-Talk Subject: Re: Pushing Timeout Alert to Client. Could you set a meta refresh with a time that is a little smaller than your session timeout and have the refresh handle the warning  you want? -Kore    Ian Skinner <[EMAIL PROTECTED]   To: CF-Talk <[EMAIL PROTECTED]>   ource.org>    cc:     Subject: Pushing Timeout Alert to Client. 11/17/2003 02:26 PM    Please respond to   cf-talk          This may not best be done with a CF solution, so I'm open to any suggestions, the simpler the better. BACKGROUND We have a web application working with sensitive HIPPA information.  As one could imagine, we don't really want to keep this information available for very long, so the application session times out, if inactive for a set time. If the session has timed out while open in the browser, any new action by the user causes the application to go to the start.  All this is good as far as it goes, but it would be much nicer to the user, if they receive a warning of the pending and/or past expiration of the application. The main reason for this request, is that the application has some fairly complex data collection forms.  It could be annoying, if a user opens one of these form, gets interrupted by the phone, comes back after the session has expired, enters all the data in the open form in their browser, submits the form to be told by the server: "sorry your session has timed out", then being sent back to the start losing all their work. REQUEST I'm looking for ways I might be able to push, or in someway deliver a warning to the user?  My bank's online banking website does this, and while I hate the bank itself, this is a nice feature.  I'm just not sure how they do it.  How they have a popup window open when the session is about to expire/has expired?  Would this just be done with _javascript_?  How else might this be done?  Some kind of dynamic scheduled task?  Something built in java and/or jsp?  Something one of you has already built and can just give me. *smile* Thanks -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA Confidentiality Notice:  This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privile

RE: Pushing Timeout Alert to Client.

2003-11-17 Thread Ian Skinner
Interesting Idea, I would set a meta refresh to the time out, or a bit less,
that would redirect the user to a "your session has timed out page."  I
could see that working.

 
Anybody know any potential problems I might encounter with this.  Right now
it just hast to work in IE 5.5 and up, but I would rather not count on that
if I don't have too.  So, any problems with doing this in other situations?
Maybe with some span/popup blocking tools?  Other Browsers? User settings in
these browsers?

-- 
Ian Skinner 
Web Programmer 
BloodSource 
www.BloodSource.org 
Sacramento, CA 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 12:57 PM
To: CF-Talk
Subject: Re: Pushing Timeout Alert to Client.

Could you set a meta refresh with a time that is a little smaller than your
session timeout and have the refresh handle the warning  you want?

-Kore


Ian Skinner

<[EMAIL PROTECTED]   To: CF-Talk
<[EMAIL PROTECTED]>  
ource.org>    cc:

  Subject: Pushing Timeout
Alert to Client.
11/17/2003 02:26 PM

Please respond to

cf-talk



This may not best be done with a CF solution, so I'm open to any
suggestions, the simpler the better.

BACKGROUND

We have a web application working with sensitive HIPPA information.  As one
could imagine, we don't really want to keep this information available for
very long, so the application session times out, if inactive for a set
time.

If the session has timed out while open in the browser, any new action by
the user causes the application to go to the start.  All this is good as
far
as it goes, but it would be much nicer to the user, if they receive a
warning of the pending and/or past expiration of the application.

The main reason for this request, is that the application has some fairly
complex data collection forms.  It could be annoying, if a user opens one
of
these form, gets interrupted by the phone, comes back after the session has
expired, enters all the data in the open form in their browser, submits the
form to be told by the server: "sorry your session has timed out", then
being sent back to the start losing all their work.

REQUEST

I'm looking for ways I might be able to push, or in someway deliver a
warning to the user?  My bank's online banking website does this, and while
I hate the bank itself, this is a nice feature.  I'm just not sure how they
do it.  How they have a popup window open when the session is about to
expire/has expired?  Would this just be done with _javascript_?  How else
might this be done?  Some kind of dynamic scheduled task?  Something built
in java and/or jsp?  Something one of you has already built and can just
give me. *smile*

Thanks

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

   _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Pushing Timeout Alert to Client.

2003-11-17 Thread kpeterson
How about setting the meta refresh greater than your session timeout and
then have a page come up that tells the user of their current fate? Added
benefit would be any sensitive info in the browser would be cleared by the
refresh.

-Kore

   
Ian Skinner
<[EMAIL PROTECTED]   To: CF-Talk <[EMAIL PROTECTED]>  
ource.org>    cc:  
  Subject: RE: Pushing Timeout Alert to Client.
11/17/2003 03:01 PM    
Please respond to  
cf-talk    
   
   


That's an interesting Idea, and I will file it away in my head, but it's
not
really the solution to my current problem.  We want the session to time out
so that's good.  I would just like to warn a user who has left the browser
open that after it's timed out, any data you try to submit now is going to
be lost, so you might as well start over first.

Thanks

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-Original Message-
From: Robyn Follen [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 12:37 PM
To: CF-Talk
Subject: RE: Pushing Timeout Alert to Client.

While this doesn't quite answer your question as to an alert, it might help
with your timeout issue.

If you have a lot of big forms that the user has to fill out, and you're
worried about timeouts while the user is filling out the form, you could
have a hidden frame in the form, and an onFocus event on the fields that
the
user has to fill out.  The function called each time the field gets focus
could reload the hidden frame's page, which would then keep the session
alive while the user fills out the form.

For instance:


>

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:26 PM
To: CF-Talk
Subject: Pushing Timeout Alert to Client.

This may not best be done with a CF solution, so I'm open to any
suggestions, the simpler the better.

BACKGROUND

We have a web application working with sensitive HIPPA information.  As one
could imagine, we don't really want to keep this information available for
very long, so the application session times out, if inactive for a set
time.

If the session has timed out while open in the browser, any new action by
the user causes the application to go to the start.  All this is good as
far
as it goes, but it would be much nicer to the user, if they receive a
warning of the pending and/or past expiration of the application.

The main reason for this request, is that the application has some fairly
complex data collection forms.  It could be annoying, if a user opens one
of
these form, gets interrupted by the phone, comes back after the session has
expired, enters all the data in the open form in their browser, submits the
form to be told by the server: "sorry your session has timed out", then
being sent back to the start losing all their work.

REQUEST

I'm looking for ways I might be able to push, or in someway deliver a
warning to the user?  My bank's online banking website does this, and while
I hate the bank itself, this is a nice feature.  I'm just not sure how they
do it.  How they have a popup window open when the session is about to
expire/has expired?  Would this just be done with _javascript_?  How else
might this be done?  Some kind of dynamic scheduled task?  Something built
in java and/or jsp?  Something one of you has already built and can just
give me. *smile*

Thanks

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

  _

   _


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread J E VanOver
If you're using CF 5 or later you can use this function:


function maskit(myNum) {
var aNum = myNum / 100;
var newNum = numberFormat(aNum,".00");
return (replace(newNum,"0.",".");
}


Then in your code, #maskit(7)#

Strangely, on my computer, numberFormat(aNum,".00") will STILL put a leading
zero on the number -- that's what the "replace" is for in the "return"

-Original Message-
From: J E VanOver [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 12:59 PM
To: CF-Talk
Subject: RE: numberformat

It DOESN'T go into the mask.  Do the math, then mask the results.

  -Original Message-
  From: Robert Orlini [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 12:43 PM
  To: CF-Talk
  Subject: RE: numberformat

  Thanks. How do I incorporate the / 100 into the mask. I'm new to this and
am getting errors.

  Robert O.

  -Original Message-
  From: Tony Weeg [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 3:37 PM
  To: CF-Talk
  Subject: RE: numberformat

  yeah, i was about to say, math.

  -Original Message-
  From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 3:35 PM
  To: CF-Talk
  Subject: Re: numberformat

  divide by 100 ;-)

  I'm not sure you can make a 7 display as a decimal value using
  masks...but dividing by 100 will get ya there

  Bryan Stevenson B.Comm.
  VP & Director of E-Commerce Development
  Electric Edge Systems Group Inc.
  t. 250.920.8830
  e. [EMAIL PROTECTED]

  -
  Macromedia Associate Partner
  www.macromedia.com
  -
  Vancouver Island ColdFusion Users Group
  Founder & Director
  www.cfug-vancouverisland.com
    - Original Message -
    From: Robert Orlini
    To: CF-Talk
    Sent: Monday, November 17, 2003 12:17 PM
    Subject: numberformat

    How do I apply the numberformat mask to make a 7 view as .07?

    Thanks.

    Robert O.

    _


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: CF Studio 5 resource windows

2003-11-17 Thread Jeff Beer
Studio has two file windows (file 1, primary and file 2, secondary).  Is
there any way to add more? I'd love to have four or five file windows
available as I bounce between RDS and FTP servers all day long.


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Robert Orlini
Thanks Robert and all for the suggestions.

 
Robert O.

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Pushing Timeout Alert to Client.

2003-11-17 Thread Ian Skinner
That's an interesting Idea, and I will file it away in my head, but it's not
really the solution to my current problem.  We want the session to time out
so that's good.  I would just like to warn a user who has left the browser
open that after it's timed out, any data you try to submit now is going to
be lost, so you might as well start over first.

 
Thanks

 
-- 
Ian Skinner 
Web Programmer 
BloodSource 
www.BloodSource.org 
Sacramento, CA 

-Original Message-
From: Robyn Follen [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 12:37 PM
To: CF-Talk
Subject: RE: Pushing Timeout Alert to Client.

While this doesn't quite answer your question as to an alert, it might help
with your timeout issue.

If you have a lot of big forms that the user has to fill out, and you're
worried about timeouts while the user is filling out the form, you could
have a hidden frame in the form, and an onFocus event on the fields that the
user has to fill out.  The function called each time the field gets focus
could reload the hidden frame's page, which would then keep the session
alive while the user fills out the form.  

For instance:


>

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:26 PM
To: CF-Talk
Subject: Pushing Timeout Alert to Client.

This may not best be done with a CF solution, so I'm open to any
suggestions, the simpler the better.

BACKGROUND

We have a web application working with sensitive HIPPA information.  As one
could imagine, we don't really want to keep this information available for
very long, so the application session times out, if inactive for a set time.

If the session has timed out while open in the browser, any new action by
the user causes the application to go to the start.  All this is good as far
as it goes, but it would be much nicer to the user, if they receive a
warning of the pending and/or past expiration of the application.

The main reason for this request, is that the application has some fairly
complex data collection forms.  It could be annoying, if a user opens one of
these form, gets interrupted by the phone, comes back after the session has
expired, enters all the data in the open form in their browser, submits the
form to be told by the server: "sorry your session has timed out", then
being sent back to the start losing all their work.

REQUEST

I'm looking for ways I might be able to push, or in someway deliver a
warning to the user?  My bank's online banking website does this, and while
I hate the bank itself, this is a nice feature.  I'm just not sure how they
do it.  How they have a popup window open when the session is about to
expire/has expired?  Would this just be done with _javascript_?  How else
might this be done?  Some kind of dynamic scheduled task?  Something built
in java and/or jsp?  Something one of you has already built and can just
give me. *smile*

Thanks

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

  _  

   _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Tony Weeg
that code doesnt make sense? what are you trying to show here?

tony

-Original Message-
From: Robert Redpath [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:54 PM
To: CF-Talk
Subject: RE: numberformat

Try something like:

 
 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this
and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: HTML help

2003-11-17 Thread Richard Crawford
J E VanOver wrote:
> No, you can't control the "tooltip" behavior.
> 
> Do you know those titles will NOT be visible under Netscape?
> 
> Netscape doesn't do "tooltips"

The reason why Netscape (and other Mozilla-based browsers) won't do 
"tooltips" via the title attribute of the anchor tag is that the title 
attribute is NOT a part of the HTML specification.  It is proprietary to 
IE.  It's best, therefore, to avoid it and use a cross-browser DHTML 
solution, such as the ones you can find at http://www.dynamicdrive.com.

See http://www.w3.org/TR/html401/struct/links.html#edef-A for standard 
specifications of the anchor tag.


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Inserting rows into a 2d array

2003-11-17 Thread Ian Skinner
When I have done displays like this, I put all the display logic in the
code, leaving the data alone.  Something along these lines (pseudo code);

 



 



 

    



    

left(getdata.cityName,1)>

#getdata.cityName# #getdata.LocationCode#

 

secColumn>
    
    



    


 
This will output pretty close to what you wanted in your example.  It will
display the first half of the query in one cell of a two cell row, and the
second half in the other cell. Something like this. I hope the alignment
comes through correctly in the email.

 
xxx        
 
xxx y    xxx 
 xxx  
 
xxx  xxx 

 
x 

 
If you want a display a little fancier, with the locations codes lined up in
a column you will have to play with the table(s) a bit.  Might be easiest to
nest tables, but if you don't want to, it can be done with a bit more work.

 
HTH

-- 
Ian Skinner 
Web Programmer 
BloodSource 
www.BloodSource.org 
Sacramento, CA 

-Original Message-
From: DougF [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 11:08 AM
To: CF-Talk
Subject: Re: Inserting rows into a 2d array

Thanks Dave, here is what I've discovered. Further ideas appreciated. Doug
- Original Message - 
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 9:16 AM
Subject: RE: Inserting rows into a 2d array
>
> Alternatively, why not just order the data the way you want it before
> building the array? Or, perhaps more importantly, why does the ordering
> matter at all? Ideally, in most (but not all) situations, it shouldn't.

What I'm trying to do is take a query result with two associated elements
named city_name and locationID. The two elements need to be displayed beside
each other, ordered alphabetically on the city name, with a blank line
between the end of one alpha group and the start of the next group (makes it
much easier to visually scan through a long list). The results will be
displayed in a four column, vertically ordered table. My idea is to insert
blank spacers into the results before the table is dynamically constructed
so that the table formatting is not messed up with the spacers running
horizontally across all four columns of the table.

AAA xxx   CCC xxx
AAA xxx
  DDD xxx
BBB  xxx
BBB  xxx   EEE  xxx

CCC  xxx   FFF  xxx

> According to the documentation, existing elements should automatically be
> shifted up one in position, so you shouldn't be having this problem. What
> version of CF are you using?

Using CF5. The way I understand the documentation is that the existing
element is shifted one cell to the right, not up or down. In testing I found
this to be true. The existing element is moved to the right and the new
element is inserted as documentation states. This works whether the array is
1, 2 or 3 dimensional. Previously I thought the ArrayInsertAt was just
overwriting the element but now know it was shifting the existing element to
the right and not creating a new row as I was expecting.

So the problem is that I want insert a new ROW into a 2 dimensional array
not just add a new element (cell) to an existing row. This will create the
spacer between existing elements. Ideas or alternatives appreciated.






'testArray1' has #ArrayLen(testArray1)# elements.

  #Num#  #testArray1[Num]#, 


After insert 'testArray1' has #ArrayLen(testArray1)# elements.

  #Num1#  #testArray1[Num1]#, 









  
  
  

'testArray2' has #ArrayLen(testArray2)# elements.

#Num2#  #testArray2[Num2][1]#, #testArray2[Num2][2]#, 



After insert 'testArray2' has #ArrayLen(testArray2)# elements.

  #Num3#  #testArray2[Num3][1]#, #testArray2[Num3][2]#, 

row 3 contents: #testArray2[3][1]#, #testArray2[3][2]#,
#testArray2[3][3]#

 test results 
'testArray1' has 3 elements.
1 Agness,  2 Albany,  3 Arlington,

After insert 'testArray1' has 4 elements.
1 Agness,  2 Albany,  3 InsertAt3,  4 Arlington,

'testArray2' has 3 elements.
1 Agness, ID01,  2 Albany, ID02,  3 Arlington, ID03,

After insert 'testArray2' has 3 elements.
1 Agness, ID01,  2 Albany, ID02,  3 InsertHere, Arlington,

row 3 contents: InsertHere, Arlington, ID03

--

>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/  
> voice: (202) 797-5496
> fax: (202) 797-5444
- Original Message - 
> > It was suggested (thanks Chris) that I could insert elements
> > into an array by using the ArrayInsertAt() function:
> >
> > Example:
> > For a 1d array:
> > 
> >
> > For a 2d array:
> > 
> > 
> > 
> >
> > Problem is that 'ArrayInsertAt' will insert an element(s), but
> > it will overwrite what is currently at that location. What I
> > need to do is shift the r

Re: Pushing Timeout Alert to Client.

2003-11-17 Thread kpeterson
Could you set a meta refresh with a time that is a little smaller than your
session timeout and have the refresh handle the warning  you want?

-Kore


   
Ian Skinner
<[EMAIL PROTECTED]   To: CF-Talk <[EMAIL PROTECTED]>  
ource.org>    cc:  
  Subject: Pushing Timeout Alert to Client.
11/17/2003 02:26 PM    
Please respond to  
cf-talk    
   
   


This may not best be done with a CF solution, so I'm open to any
suggestions, the simpler the better.

BACKGROUND

We have a web application working with sensitive HIPPA information.  As one
could imagine, we don't really want to keep this information available for
very long, so the application session times out, if inactive for a set
time.

If the session has timed out while open in the browser, any new action by
the user causes the application to go to the start.  All this is good as
far
as it goes, but it would be much nicer to the user, if they receive a
warning of the pending and/or past expiration of the application.

The main reason for this request, is that the application has some fairly
complex data collection forms.  It could be annoying, if a user opens one
of
these form, gets interrupted by the phone, comes back after the session has
expired, enters all the data in the open form in their browser, submits the
form to be told by the server: "sorry your session has timed out", then
being sent back to the start losing all their work.

REQUEST

I'm looking for ways I might be able to push, or in someway deliver a
warning to the user?  My bank's online banking website does this, and while
I hate the bank itself, this is a nice feature.  I'm just not sure how they
do it.  How they have a popup window open when the session is about to
expire/has expired?  Would this just be done with _javascript_?  How else
might this be done?  Some kind of dynamic scheduled task?  Something built
in java and/or jsp?  Something one of you has already built and can just
give me. *smile*

Thanks

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Tony Weeg
sorry, they were obvious gestures at what we thought was
fairly straightforward.  the function wont do that basically, 
not from what i can tell.  but, in order to do so, you would have to
create a value that is .07 like this...



and then you can strip the leading zero off...

#right(theNumber,3)#

but that would only work if you knew the results were going to look like
0.07, the actual value of 7 / 100 in cfmx.

there are a myriad of ways to do this, im sure, but you could start
here...
i couldnt get the mask thingie to work and not show the leading zero??
anyone??

tony

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this
and am getting errors.

 
Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Users logged in using CFLOGIN

2003-11-17 Thread Dave Watts
> Is there some kind of an object that can be returned to
> show all users who are currently logged into a given 
> application that uses CFLOGIN?

There may be, but to the best of my knowledge it would be undocumented and
subject to change in future versions. I'd recommend that you just add the
appropriate tracking code within your CFLOGIN code block.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Robert Redpath
Try something like:

 
 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:43 PM
To: CF-Talk
Subject: RE: numberformat

Thanks. How do I incorporate the / 100 into the mask. I'm new to this and am
getting errors.

Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread J E VanOver
It DOESN'T go into the mask.  Do the math, then mask the results.

  -Original Message-
  From: Robert Orlini [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 12:43 PM
  To: CF-Talk
  Subject: RE: numberformat

  Thanks. How do I incorporate the / 100 into the mask. I'm new to this and
am getting errors.

  Robert O.

  -Original Message-
  From: Tony Weeg [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 3:37 PM
  To: CF-Talk
  Subject: RE: numberformat

  yeah, i was about to say, math.

  -Original Message-
  From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 3:35 PM
  To: CF-Talk
  Subject: Re: numberformat

  divide by 100 ;-)

  I'm not sure you can make a 7 display as a decimal value using
  masks...but dividing by 100 will get ya there

  Bryan Stevenson B.Comm.
  VP & Director of E-Commerce Development
  Electric Edge Systems Group Inc.
  t. 250.920.8830
  e. [EMAIL PROTECTED]

  -
  Macromedia Associate Partner
  www.macromedia.com
  -
  Vancouver Island ColdFusion Users Group
  Founder & Director
  www.cfug-vancouverisland.com
    - Original Message -
    From: Robert Orlini
    To: CF-Talk
    Sent: Monday, November 17, 2003 12:17 PM
    Subject: numberformat

    How do I apply the numberformat mask to make a 7 view as .07?

    Thanks.

    Robert O.

    _


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: numberformat

2003-11-17 Thread Bryan Stevenson
Just before you NumberFormat() it...


#NumberFormat(MyValue,mask)#

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:42 PM
  Subject: RE: numberformat

  Thanks. How do I incorporate the / 100 into the mask. I'm new to this and am getting errors.

  Robert O.

  -Original Message-
  From: Tony Weeg [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 3:37 PM
  To: CF-Talk
  Subject: RE: numberformat

  yeah, i was about to say, math.

  -Original Message-
  From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
  Sent: Monday, November 17, 2003 3:35 PM
  To: CF-Talk
  Subject: Re: numberformat

  divide by 100 ;-)

  I'm not sure you can make a 7 display as a decimal value using
  masks...but dividing by 100 will get ya there

  Bryan Stevenson B.Comm.
  VP & Director of E-Commerce Development
  Electric Edge Systems Group Inc.
  t. 250.920.8830
  e. [EMAIL PROTECTED]

  -
  Macromedia Associate Partner
  www.macromedia.com
  -
  Vancouver Island ColdFusion Users Group
  Founder & Director
  www.cfug-vancouverisland.com
    - Original Message - 
    From: Robert Orlini 
    To: CF-Talk 
    Sent: Monday, November 17, 2003 12:17 PM
    Subject: numberformat

    How do I apply the numberformat mask to make a 7 view as .07?

    Thanks.

    Robert O.

    _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: HTML help

2003-11-17 Thread Chris Alvarado
http://www.bosrup.com/web/overlib/

 
this guy did some really slick stuff with JS / DHTML.

 
it's basically a library of tools for displaying highly customizable
'tooltips'.

 
you can change all of the colors, borders, fonts, as well as include
images etc since the attribute that passes in the content for the layer
takes HTML.

 
check it out.

-chris.alvarado 
[ application developer ] 
4 Guys Interactive, Inc. 
http://www.4guys.com   
phone: 281.807.4344 x1716 
fax: 281.807.4384

-Original Message-
From: Dwayne Cole [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 2:39 PM
To: CF-Talk
Subject: HTML  help

Currently I'm using the "title" attribute to show a message that suggest
what's behind a link. Some times the message contains as many as 100
words.  The problem i'm having is that the text is only visible for
about 5 seconds.  I need for it to remain visible until the mouse roles
away. Any suggestions?

Dwayne Cole, MS in MIS, MBA
Florida A&M University
Certified Advanced ColdFusion Developer
850-591-0212 
  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Robert Orlini
Thanks. How do I incorporate the / 100 into the mask. I'm new to this and am getting errors.

 
Robert O.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:37 PM
To: CF-Talk
Subject: RE: numberformat

yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: HTML help

2003-11-17 Thread J E VanOver
No, you can't control the "tooltip" behavior.

Do you know those titles will NOT be visible under Netscape?

Netscape doesn't do "tooltips"

There are DHTML scripts you can use that do this in a reliable, cross
browser fashion.  They will also allow you to control how long the text
stays visible.  Check DHTML & _javascript_ resources.

Jann
-Original Message-
From: Dwayne Cole [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 12:39 PM
To: CF-Talk
Subject: HTML  help

Currently I'm using the "title" attribute to show a message that suggest
what's behind a link. Some times the message contains as many as 100 words.
The problem i'm having is that the text is only visible for about 5 seconds.
I need for it to remain visible until the mouse roles away. Any suggestions?

Dwayne Cole, MS in MIS, MBA
Florida A&M University
Certified Advanced ColdFusion Developer
850-591-0212

 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: HTML help

2003-11-17 Thread Ubqtous
Dwayne,

On 11/17/2003 at 15:38, you wrote:

DC> Currently I'm using the "title" attribute to show a message that
DC> suggest what's behind a link. Some times the message contains as
DC> many as 100 words.  The problem i'm having is that the text is
DC> only visible for about 5 seconds.  I need for it to remain visible
DC> until the mouse roles away. Any suggestions?

Use CSS. Check out the following site's menu and style sheets for an
example: http://www.mako4css.com/

~ Ubqtous ~

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: HTML help

2003-11-17 Thread Jim Campbell
Nope, that behavior's built into the browser (or OS - that same behavior 
shows up when I mouseover a button on my taskbar in XP Pro).  Have you 
tried using a small bit of DHTML/_javascript_ for those links?  Something 
that pops into view relative to the cursor based on the element that 
you're currently mousing over.

- Jim

Dwayne Cole wrote:

> Currently I'm using the "title" attribute to show a message that 
> suggest what's behind a link. Some times the message contains as many 
> as 100 words.  The problem i'm having is that the text is only visible 
> for about 5 seconds.  I need for it to remain visible until the mouse 
> roles away. Any suggestions?
>
> Dwayne Cole, MS in MIS, MBA
> Florida A&M University
> Certified Advanced ColdFusion Developer
> 850-591-0212
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: HTML help

2003-11-17 Thread Russ
Try applying an accesskey to your links:

 
copy

 
See if that helps you out.

 
HTH,

 
Russ

-Original Message-
From: Dwayne Cole [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 2:39 PM
To: CF-Talk
Subject: HTML  help

Currently I'm using the "title" attribute to show a message that suggest
what's behind a link. Some times the message contains as many as 100
words.  The problem i'm having is that the text is only visible for
about 5 seconds.  I need for it to remain visible until the mouse roles
away. Any suggestions?

Dwayne Cole, MS in MIS, MBA
Florida A&M University
Certified Advanced ColdFusion Developer
850-591-0212 
  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: HTML help

2003-11-17 Thread Bryan Stevenson
Do some _javascript_ searches for things like "Link Tips" "Link Descriptions".  You're looking at a _javascript_/DHTML solution.  You can make super nice looking link descriptionsbasically a mini web page to display whatever you want about a link.

I've used this approach in many business reporting apps where screen real estate is at a premium and a little heads up on what's behind a link saves the user a tonne of time ;-)

HTH

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Dwayne Cole 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:38 PM
  Subject: HTML  help

  Currently I'm using the "title" attribute to show a message that suggest what's behind a link. Some times the message contains as many as 100 words.  The problem i'm having is that the text is only visible for about 5 seconds.  I need for it to remain visible until the mouse roles away. Any suggestions?

  Dwayne Cole, MS in MIS, MBA
  Florida A&M University
  Certified Advanced ColdFusion Developer
  850-591-0212

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Pushing Timeout Alert to Client.

2003-11-17 Thread Robyn Follen
While this doesn't quite answer your question as to an alert, it might help
with your timeout issue.

 
If you have a lot of big forms that the user has to fill out, and you're
worried about timeouts while the user is filling out the form, you could
have a hidden frame in the form, and an onFocus event on the fields that the
user has to fill out.  The function called each time the field gets focus
could reload the hidden frame's page, which would then keep the session
alive while the user fills out the form.  

 
For instance:

 

>


-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:26 PM
To: CF-Talk
Subject: Pushing Timeout Alert to Client.

This may not best be done with a CF solution, so I'm open to any
suggestions, the simpler the better.

BACKGROUND

We have a web application working with sensitive HIPPA information.  As one
could imagine, we don't really want to keep this information available for
very long, so the application session times out, if inactive for a set time.

If the session has timed out while open in the browser, any new action by
the user causes the application to go to the start.  All this is good as far
as it goes, but it would be much nicer to the user, if they receive a
warning of the pending and/or past expiration of the application.

The main reason for this request, is that the application has some fairly
complex data collection forms.  It could be annoying, if a user opens one of
these form, gets interrupted by the phone, comes back after the session has
expired, enters all the data in the open form in their browser, submits the
form to be told by the server: "sorry your session has timed out", then
being sent back to the start losing all their work.

REQUEST

I'm looking for ways I might be able to push, or in someway deliver a
warning to the user?  My bank's online banking website does this, and while
I hate the bank itself, this is a nice feature.  I'm just not sure how they
do it.  How they have a popup window open when the session is about to
expire/has expired?  Would this just be done with _javascript_?  How else
might this be done?  Some kind of dynamic scheduled task?  Something built
in java and/or jsp?  Something one of you has already built and can just
give me. *smile*

Thanks

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Application, Client , Session Vars again

2003-11-17 Thread Matt Robertson
Steven Schuster wrote:
>How can I display all of the client/session variables currently stored 
>by CF




--
---
 Matt Robertson, [EMAIL PROTECTED]
 MSB Designs, Inc. http://mysecretbase.com
---

--
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




HTML help

2003-11-17 Thread Dwayne Cole
Currently I'm using the "title" attribute to show a message that suggest what's behind a link. Some times the message contains as many as 100 words.  The problem i'm having is that the text is only visible for about 5 seconds.  I need for it to remain visible until the mouse roles away. Any suggestions?

Dwayne Cole, MS in MIS, MBA
Florida A&M University
Certified Advanced ColdFusion Developer
850-591-0212
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: numberformat

2003-11-17 Thread Tony Weeg
yeah, i was about to say, math.

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 3:35 PM
To: CF-Talk
Subject: Re: numberformat

divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using
masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: numberformat

2003-11-17 Thread Bryan Stevenson
divide by 100 ;-)

I'm not sure you can make a 7 display as a decimal value using masks...but dividing by 100 will get ya there

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Robert Orlini 
  To: CF-Talk 
  Sent: Monday, November 17, 2003 12:17 PM
  Subject: numberformat

  How do I apply the numberformat mask to make a 7 view as .07?

  Thanks.

  Robert O.


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Users logged in using CFLOGIN

2003-11-17 Thread John Burns
Is there some kind of an object that can be returned to show all users who
are currently logged into a given application that uses CFLOGIN?

John Burns


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Pushing Timeout Alert to Client.

2003-11-17 Thread Ian Skinner
This may not best be done with a CF solution, so I'm open to any
suggestions, the simpler the better.

BACKGROUND

We have a web application working with sensitive HIPPA information.  As one
could imagine, we don't really want to keep this information available for
very long, so the application session times out, if inactive for a set time.

If the session has timed out while open in the browser, any new action by
the user causes the application to go to the start.  All this is good as far
as it goes, but it would be much nicer to the user, if they receive a
warning of the pending and/or past expiration of the application.

The main reason for this request, is that the application has some fairly
complex data collection forms.  It could be annoying, if a user opens one of
these form, gets interrupted by the phone, comes back after the session has
expired, enters all the data in the open form in their browser, submits the
form to be told by the server: "sorry your session has timed out", then
being sent back to the start losing all their work.

REQUEST

I'm looking for ways I might be able to push, or in someway deliver a
warning to the user?  My bank's online banking website does this, and while
I hate the bank itself, this is a nice feature.  I'm just not sure how they
do it.  How they have a popup window open when the session is about to
expire/has expired?  Would this just be done with _javascript_?  How else
might this be done?  Some kind of dynamic scheduled task?  Something built
in java and/or jsp?  Something one of you has already built and can just
give me. *smile*

Thanks

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE:test

2003-11-17 Thread miketest
	#

	
	This message has been sent from mike with username a ([EMAIL PROTECTED])
	
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




numberformat

2003-11-17 Thread Robert Orlini
How do I apply the numberformat mask to make a 7 view as .07?

Thanks.

Robert O.

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Dynamic image resizing etc.

2003-11-17 Thread Nathan Strutz
Ditto on that. There's an imagemagick tagset out there, but it always caused
more problems than it solved and created way more overhead that it seemed I
would ever need.

-nathan strutz

  -Original Message-
  From: cf-talk [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 1:06 PM
  To: CF-Talk
  Subject: RE: Dynamic image resizing etc.

  There is a CFC or UDF or something on the Macromedia Exchange.
  Personally I've always just built my string in a variable and then run
  ImageMagick via CFEXECUTE.

  -Novak

  -Original Message-
  From: John Burns [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 11:48 AM
  To: CF-Talk
  Subject: RE: Dynamic image resizing etc.

  Do you have any information on imagemagick?  Are there any CFC wrappers
  for
  it?

  John Burns

  -Original Message-
  From: Nathan Strutz [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 2:45 PM
  To: CF-Talk
  Subject: RE: Dynamic image resizing etc.

  Perhaps if ImageJ had a bicubic resizing option, it would be fine. But
  since
  not, I have had luck doing a few different things.

  1. Blur your image before resizing. The thumbnailed image comes out
  about
  97% as good as a bicubic resizing option, good enough for most.
  Typically if
  the image is larger than 5x your thumbnail, you may need to blur it
  twice
  before resizing.

  2. Use imagemagick. It's a good program and works really well. This is
  what
  I ended up doing.

  -nathan strutz

    -Original Message-
    From: John Burns [mailto:[EMAIL PROTECTED]
    Sent: Monday, November 17, 2003 10:12 AM
    To: CF-Talk
    Subject: Dynamic image resizing etc.

    I've implemented a CFC that uses ImageJ Java classes to resize,
  rotate,
  add
    text, etc. to images.  For the most part, I'm fairly happy, but the
  images
    seem to come out a little bit distorted and not quite as clean as I'd
  like.
    Does anyone know of a better set of classes (preferably with a CFC
  wrapper)
    that can accomplish these same functions with a better quality
  outcome?
  Any
    information would be extremely helpful!

    FYI: I'm working with CFMX on Linux with Apache.

    John Burns

    _

    _


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Application, Client , Session Vars again

2003-11-17 Thread Schuster, Steven
How can I display all of the client/session variables currently stored by CF
for a user. Specifically I am looking for the key that controls the client.
Var so I can store it in a db and do my multi-hosted site stuff that way.
The cfmodule way didn't work.

 
Steve

 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Dynamic image resizing etc.

2003-11-17 Thread cf-talk
There is a CFC or UDF or something on the Macromedia Exchange.
Personally I've always just built my string in a variable and then run
ImageMagick via CFEXECUTE.

 
-Novak

-Original Message-
From: John Burns [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 11:48 AM
To: CF-Talk
Subject: RE: Dynamic image resizing etc.

Do you have any information on imagemagick?  Are there any CFC wrappers
for
it?

John Burns

-Original Message-
From: Nathan Strutz [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 2:45 PM
To: CF-Talk
Subject: RE: Dynamic image resizing etc.

Perhaps if ImageJ had a bicubic resizing option, it would be fine. But
since
not, I have had luck doing a few different things.

1. Blur your image before resizing. The thumbnailed image comes out
about
97% as good as a bicubic resizing option, good enough for most.
Typically if
the image is larger than 5x your thumbnail, you may need to blur it
twice
before resizing.

2. Use imagemagick. It's a good program and works really well. This is
what
I ended up doing.

-nathan strutz

  -Original Message-
  From: John Burns [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 10:12 AM
  To: CF-Talk
  Subject: Dynamic image resizing etc.

  I've implemented a CFC that uses ImageJ Java classes to resize,
rotate,
add
  text, etc. to images.  For the most part, I'm fairly happy, but the
images
  seem to come out a little bit distorted and not quite as clean as I'd
like.
  Does anyone know of a better set of classes (preferably with a CFC
wrapper)
  that can accomplish these same functions with a better quality
outcome?
Any
  information would be extremely helpful!

  FYI: I'm working with CFMX on Linux with Apache.

  John Burns

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Dynamic image resizing etc.

2003-11-17 Thread John Burns
Do you have any information on imagemagick?  Are there any CFC wrappers for
it?

John Burns

-Original Message-
From: Nathan Strutz [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 2:45 PM
To: CF-Talk
Subject: RE: Dynamic image resizing etc.

Perhaps if ImageJ had a bicubic resizing option, it would be fine. But since
not, I have had luck doing a few different things.

1. Blur your image before resizing. The thumbnailed image comes out about
97% as good as a bicubic resizing option, good enough for most. Typically if
the image is larger than 5x your thumbnail, you may need to blur it twice
before resizing.

2. Use imagemagick. It's a good program and works really well. This is what
I ended up doing.

-nathan strutz

  -Original Message-
  From: John Burns [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 10:12 AM
  To: CF-Talk
  Subject: Dynamic image resizing etc.

  I've implemented a CFC that uses ImageJ Java classes to resize, rotate,
add
  text, etc. to images.  For the most part, I'm fairly happy, but the images
  seem to come out a little bit distorted and not quite as clean as I'd
like.
  Does anyone know of a better set of classes (preferably with a CFC
wrapper)
  that can accomplish these same functions with a better quality outcome?
Any
  information would be extremely helpful!

  FYI: I'm working with CFMX on Linux with Apache.

  John Burns


  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Dynamic image resizing etc.

2003-11-17 Thread cf-talk
I'll second the ImageMagick option.  It's the solution I settled on
quite some time ago and has worked very well for me for a long time.

 
-Novak

-Original Message-
From: Nathan Strutz [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 11:45 AM
To: CF-Talk
Subject: RE: Dynamic image resizing etc.

Perhaps if ImageJ had a bicubic resizing option, it would be fine. But
since
not, I have had luck doing a few different things.

1. Blur your image before resizing. The thumbnailed image comes out
about
97% as good as a bicubic resizing option, good enough for most.
Typically if
the image is larger than 5x your thumbnail, you may need to blur it
twice
before resizing.

2. Use imagemagick. It's a good program and works really well. This is
what
I ended up doing.

-nathan strutz

  -Original Message-
  From: John Burns [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 10:12 AM
  To: CF-Talk
  Subject: Dynamic image resizing etc.

  I've implemented a CFC that uses ImageJ Java classes to resize,
rotate,
add
  text, etc. to images.  For the most part, I'm fairly happy, but the
images
  seem to come out a little bit distorted and not quite as clean as I'd
like.
  Does anyone know of a better set of classes (preferably with a CFC
wrapper)
  that can accomplish these same functions with a better quality
outcome?
Any
  information would be extremely helpful!

  FYI: I'm working with CFMX on Linux with Apache.

  John Burns

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Dynamic image resizing etc.

2003-11-17 Thread Nathan Strutz
Perhaps if ImageJ had a bicubic resizing option, it would be fine. But since
not, I have had luck doing a few different things.

1. Blur your image before resizing. The thumbnailed image comes out about
97% as good as a bicubic resizing option, good enough for most. Typically if
the image is larger than 5x your thumbnail, you may need to blur it twice
before resizing.

2. Use imagemagick. It's a good program and works really well. This is what
I ended up doing.

-nathan strutz

  -Original Message-
  From: John Burns [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 10:12 AM
  To: CF-Talk
  Subject: Dynamic image resizing etc.

  I've implemented a CFC that uses ImageJ Java classes to resize, rotate,
add
  text, etc. to images.  For the most part, I'm fairly happy, but the images
  seem to come out a little bit distorted and not quite as clean as I'd
like.
  Does anyone know of a better set of classes (preferably with a CFC
wrapper)
  that can accomplish these same functions with a better quality outcome?
Any
  information would be extremely helpful!

  FYI: I'm working with CFMX on Linux with Apache.

  John Burns


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: cfcontent question

2003-11-17 Thread Paul Vernon
Place the following line before your CFCONTENT tag and replace
therealfilename with the name of your file... All will be well.

 

value="attachment;filename=therealfilename">

Yours

Paul Vernon
http://www.web-architect.co.uk  
t: +44 (0)844 779 9797
m: +44 (0)7887 952591
f: +44 (0)844 779 9797
e: mailto:[EMAIL PROTECTED]

The information contained in this e-mail and any attachment is intended
only for the named addressee(s). If you are not the named addressee(s),
please notify the sender immediately and do not disclose, copy or
distribute the contents to any other person other than the intended
addressee(s).


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




cfcontent question

2003-11-17 Thread Jeff Fongemie
Hey everyone,

With CFCONTENT, my downloads are getting renamed?

I've got a form submit (for a EULA) that goes to a page that uses CFCONTENT.

1. The user chooses the file from a list of links (filename is passed to the next page)

2. This page is the EULA form that has a hidden field for the filename.

3. Form submit button goes to a page that uses CFCONTENT to begin the download.

Funny thing is, the process successfully carries the proper filename to the end, and the file dows download fine, but the name of the file gets changed to the name of the form action page.



My files downloaded are all named coursematerials1.zip

I'm using a zip file type:


file="c:\protected\#form.filename#" > 

Anyone have any ideas why my downloads are getting renamed?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Sessions Revisited....

2003-11-17 Thread Schuster, Steven
Ok, here I go again...

 
I have the following directory structure

 
Main_Site_Folder (www.abc.com  ) IP Address 10.10.1.1
Site_A (www.def.com  ) IP Address 10.10.1.1
Application.cfm
Cart.cfm
Site_B (www.ghi.com  ) IP Address 10.10.1.1
Application.cfm
Cart.cfm
Site_C (www.jui.com  ) IP Address 10.10.1.1
Application.cfm
Cart.cfm
Redirect.cfm

Ok, so when you go to www.abc.com   (10.10.1.1) you see
a screen where you can pick from the 3 sites. If you type in www.def.com
  or any others directly it takes you to abc.com which
then uses the redirect.cfm to push you to the correct folder. 

 
However, I want a global cart that can essentially see the other carts. That
way if you go from Store_A to Store_B you still see Store_A's cart contents
while at Store_B. Right now the cart stores it's data in a Client.cart
variable located in the Cart.cfm. The only real difference is that eash of
the Sites passes the Site ID to the cart when adding items.

 
Now, I know I can make the cart.cfm a module and pass the Site ID to it and
place it in the root but is there a way to make the sessions see each other?

 
Steve


 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Inserting rows into a 2d array

2003-11-17 Thread DougF
Thanks Dave, here is what I've discovered. Further ideas appreciated. Doug
- Original Message - 
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 9:16 AM
Subject: RE: Inserting rows into a 2d array
>
> Alternatively, why not just order the data the way you want it before
> building the array? Or, perhaps more importantly, why does the ordering
> matter at all? Ideally, in most (but not all) situations, it shouldn't.

What I'm trying to do is take a query result with two associated elements
named city_name and locationID. The two elements need to be displayed beside
each other, ordered alphabetically on the city name, with a blank line
between the end of one alpha group and the start of the next group (makes it
much easier to visually scan through a long list). The results will be
displayed in a four column, vertically ordered table. My idea is to insert
blank spacers into the results before the table is dynamically constructed
so that the table formatting is not messed up with the spacers running
horizontally across all four columns of the table.

AAA xxx   CCC xxx
AAA xxx
  DDD xxx
BBB  xxx
BBB  xxx   EEE  xxx

CCC  xxx   FFF  xxx

> According to the documentation, existing elements should automatically be
> shifted up one in position, so you shouldn't be having this problem. What
> version of CF are you using?

Using CF5. The way I understand the documentation is that the existing
element is shifted one cell to the right, not up or down. In testing I found
this to be true. The existing element is moved to the right and the new
element is inserted as documentation states. This works whether the array is
1, 2 or 3 dimensional. Previously I thought the ArrayInsertAt was just
overwriting the element but now know it was shifting the existing element to
the right and not creating a new row as I was expecting.

So the problem is that I want insert a new ROW into a 2 dimensional array
not just add a new element (cell) to an existing row. This will create the
spacer between existing elements. Ideas or alternatives appreciated.



 
 
 
'testArray1' has #ArrayLen(testArray1)# elements.

  #Num#  #testArray1[Num]#, 


After insert 'testArray1' has #ArrayLen(testArray1)# elements.

  #Num1#  #testArray1[Num1]#, 






 
 
 
  
  
  

'testArray2' has #ArrayLen(testArray2)# elements.

#Num2#  #testArray2[Num2][1]#, #testArray2[Num2][2]#, 



After insert 'testArray2' has #ArrayLen(testArray2)# elements.

  #Num3#  #testArray2[Num3][1]#, #testArray2[Num3][2]#, 

row 3 contents: #testArray2[3][1]#, #testArray2[3][2]#,
#testArray2[3][3]#

 test results 
'testArray1' has 3 elements.
1 Agness,  2 Albany,  3 Arlington,

After insert 'testArray1' has 4 elements.
1 Agness,  2 Albany,  3 InsertAt3,  4 Arlington,

'testArray2' has 3 elements.
1 Agness, ID01,  2 Albany, ID02,  3 Arlington, ID03,

After insert 'testArray2' has 3 elements.
1 Agness, ID01,  2 Albany, ID02,  3 InsertHere, Arlington,

row 3 contents: InsertHere, Arlington, ID03

--

>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
- Original Message - 
> > It was suggested (thanks Chris) that I could insert elements
> > into an array by using the ArrayInsertAt() function:
> >
> > Example:
> > For a 1d array:
> > 
> >
> > For a 2d array:
> > 
> > 
> > 
> >
> > Problem is that 'ArrayInsertAt' will insert an element(s), but
> > it will overwrite what is currently at that location. What I
> > need to do is shift the rows of the Array down and insert a
> > new row containing the new elements. This adds to the array
> > content and retains the original content of the array.
>

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: OS X host file

2003-11-17 Thread Ryan Mitchell
/etc/hostconfig

On 17/11/03 6:47 pm, "Tim Do" <[EMAIL PROTECTED]> wrote:

> Anybody know where its located?
> 
> 
> Thanks,
> Tim
> 
> 
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: OS X host file

2003-11-17 Thread Ben Doom
/etc/hosts

:-)  right where it should be!

--Ben Doom

Tim Do wrote:

> Anybody know where its located?
> 
> 
> Thanks,
> Tim
> 
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: How to count sessions

2003-11-17 Thread cf
if i was u i'd do something like this. seems like u r doing a singles site
or something.

when they login write their info to a db and then in the application.cfm
file have it update that db with the current time & then after the update
code do a delete code where it deletes every record thats over say 10
minutes old.
by doing that you dont have to rely on the sessions to get the info. Cause
u will have all there info there.
u know what i am sayin?





> Here is what I have now. Everything is working fine except I can not get
> all the individual sessions to loop through the query. It only returns
> data for one record, even if I have 4 sessions opened by different
> users.
>
> 
> "coldfusion.runtime.SessionTracker")>
>
>
> 
>
> 
> 
> #sessions["#key#"].user#
> 
>
>
> 
>  
>   SELECT fname,lname,class_year
>   FROM alumni
>   WHERE username in( '#sessions["#key#"].user#')
>  
> 
>
> 
>  
>  #fname##lname##class_year#
>  
> 
>
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Macromedia launches Flex (Was Royale)

2003-11-17 Thread Marlon Moyer
That would be pretty neat though if they named something "Macromedia 
Marlon"

Marlon

John Beynon wrote:

> The dudes name in the prior post perhaps ;-)
>
> Jb.
>
> -Original Message-
> From: David Keevil [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2003 17:44
> To: CF-Talk
> Subject: Re:Macromedia launches Flex (Was Royale)
>
> Marlon.. ???
> Please tell us Outsiders what that is.
>
> >It does look cool! I applied for the beta a little while back, but 
> looking
> >at it now and at my plate, it looks like I should wait for the retail
> >product.
> >
> >So if MM is keeping tabs, I'll bow out in favor of Marlon. :-)
> >
> >-Kevin
> >
> >
> >- Original Message -
> >From: "Marlon Moyer" <[EMAIL PROTECTED]>
> >To: "CF-Talk" <[EMAIL PROTECTED]>
> >Sent: Monday, November 17, 2003 10:31 AM
> >Subject: Re: Macromedia launches Flex (Was Royale)
> >
> >
> >> Oh man, this looks like a godsend! I am way too excited about this.
> >>
> >> 
> >> You will accept my beta application.
> >> 
> >>
> >>
> >>
> >> Mike Brunt wrote:
> >>
> >> > Ben Forta just blogged the launch of Macromedia Flex (previously
> >Royale).
> >> > Verbatim - "Flex is designed to leverage existing and standards based
> >> > back-ends, and ColdFusion developers will find that they can use Flex
> to
> >> > build sophisticated n-tier applications (with ColdFusion 
> providing the
> >> > back-end processing, and Flex generating the client-side code)."
> >> > There's a Breeze preso here
> >> > http://www.macromedia.com/software/flex/productinfo/brz_overview/
> >> >
> >> > Kind Regards - Mike Brunt
> >> > Webapper Services LLC
> >> > Web Site http://www.webapper.com
> >> > Blog http://www.webapper.net
> >> >
> >> > Webapper 
> >> >
> >> >
> >>
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




re: Repost: Directory, download and cfmail attachment issues

2003-11-17 Thread Carol Chandler
cfx_zipman didn't work as documented when trying to unzip all contents of a 
zip file.  I'm using CFX_JCompress to extract individual files (but it 
doesn't work if they are inside a folder within the zip file) and 
cfx_MultiZip to list the contents of a zip file, extract all of the 
contents of a zip file, and build a new one.

I think that #4 is my biggest problem right now - email attachments getting 
renamed.  Clues anyone?

thanks,
Carol Chandler

From: "Matthew Fusfield" <[EMAIL PROTECTED]>
Date: Mon, 17 Nov 2003 10:49:42 -0500
Thread: 
http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=28733&forumid=4#144291

Try cfx_zipman, it is in Java and should work on Linux.
http://www.emerle.net/programming/cfx_zipman.cfm

Matt

 -Original Message-
 From: Carol Chandler [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 17, 2003 10:41 AM
 To: CF-Talk
 Subject: Repost: Directory, download and cfmail attachment
issues

 Reposted because I just discovered on another list that posts
made from the
 archives didn't show the contents of the post, and that might
explain why
 my questions rarely get answered here!

 Hi all,

 We have just moved from Windows to Linux, and CF5 to MX.  This
move brought
 a whole host of unpleasant issues with it, mostly having to do
with our
 download process.

 1.  Does anyone know of a really good zip tag that works with
Linux?  I
 loved Ben Forta's cfx_zip on Windows, but can't find one that
robust for
 Linux.  Specific problem:  I can't find one that will unzip a
specific file
 in an archive that has a zipped folder in it.

 2.  We store our design files in a non-browser-accessible
directory, and
 then create a zip file in another temp non-accessible directory
after
 purchase.  I'm using cfdirectory to create this directory.  Most
of the
 time it works, but sometimes for no reason that is apparent to
me, it
 doesn't.  (Yeah, as I wrote this I realized that I needed to do
a different
 thing with error handling here, so maybe next time it happens I
will get a
 clue.)  Meanwhile, does anyone know why this would happen?  It
can work
 sometimes for a particular user and not others.

 3.  When everything else has worked so far, and the customer's
zip file has
 been created, they can choose download or email.  I'm using
 
 
 deletefile="yes">
 for the download.  In our testing, this worked acceptably.  It
does indeed
 download the proper file, and for all of our tests (except with
Opera), the
 file ended with .zip.  We have customers saying that they are
getting .cfm
 or no extension.  Any ideas?

 4.  When they select email, we use
 
 spoolenable="no">
 
type="application/x-zip-compressed">
 blah blah blah 

 Spoolenable is no because the next thing that happens is that
the file gets
 deleted, and if it is yes, half the time it gets deleted before
the message
 gets sent.  The problem here is also the file name.  People are
getting all
 sorts of things - and they have forwarded them to me.  Generally
it is a
 good file, but often with a .dat or no extension.  Any clues
here?

 5.  Some customers are reporting corrupted files.  Could this be
an issue
 with the zip tag, or is it more likely part of the
download/email
 process?  I suppose it could also simply be their way of
reporting a bad
 file extension.

 I appreciate any help you can give me.  I'm almost too busy
sending out
 files to customers to actually fix anything!

 Carol Chandler


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: OS X host file

2003-11-17 Thread Tim Do
Anybody know where its located?

 
Thanks,
Tim


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Macromedia launches Flex (Was Royale)

2003-11-17 Thread John Beynon
The dudes name in the prior post perhaps ;-)

Jb.

-Original Message-
From: David Keevil [mailto:[EMAIL PROTECTED] 
Sent: 17 November 2003 17:44
To: CF-Talk
Subject: Re:Macromedia launches Flex (Was Royale)

Marlon.. ???
Please tell us Outsiders what that is.

>It does look cool! I applied for the beta a little while back, but looking
>at it now and at my plate, it looks like I should wait for the retail
>product.
>
>So if MM is keeping tabs, I'll bow out in favor of Marlon. :-)
>
>-Kevin
>
>
>- Original Message - 
>From: "Marlon Moyer" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Monday, November 17, 2003 10:31 AM
>Subject: Re: Macromedia launches Flex (Was Royale)
>
>
>> Oh man, this looks like a godsend! I am way too excited about this.
>>
>> 
>> You will accept my beta application.
>> 
>>
>>
>>
>> Mike Brunt wrote:
>>
>> > Ben Forta just blogged the launch of Macromedia Flex (previously
>Royale).
>> > Verbatim - "Flex is designed to leverage existing and standards based
>> > back-ends, and ColdFusion developers will find that they can use Flex
to
>> > build sophisticated n-tier applications (with ColdFusion providing the
>> > back-end processing, and Flex generating the client-side code)."
>> > There's a Breeze preso here
>> > http://www.macromedia.com/software/flex/productinfo/brz_overview/
>> >
>> > Kind Regards - Mike Brunt
>> > Webapper Services LLC
>> > Web Site http://www.webapper.com
>> > Blog http://www.webapper.net
>> >
>> > Webapper 
>> >
>> >
>> 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: File Upload: timing the time it takes to upload.

2003-11-17 Thread cf
coldfusion doesnt know the file size until the upload is completed so as
far as i know you'd need to put some java in there to do what u want.



> I have a simple form that allows me to upload a file.  I need to write a
> test page that can calculate the time it takes to upload this file to
> the server.  Is this possible?
>
> I thought that GetTickCount() could tell me this but it only calculates
> how long it takes to process a file once the CF Server has it no before.
>
> Much appreciated.  Dave Adams
>
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFMAIL acting funny on CF 4.5

2003-11-17 Thread J E VanOver
Upgrade to CF 5, or don't use CFMAIL -- really.  There are many flakey
things about CFMAIL  on CF 4.5.  The worst one I know of will make your
server crash on restart until the offending email file is removed from the
spool folder.

Sometimes it will just stop sending out any email.  I once found our server
hadn't sent any email out for two weeks. We watch it more closely now.

If you use CFMAIL under CF 4.5 you MUST babysit it.  I know from experience,
I babysit quite a few sites.

Jann

 -Original Message-
From: Ruslan Sivak [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 15, 2003 8:40 AM
To: CF-Talk
Subject: CFMAIL acting funny on CF 4.5

We're running CF4.5 (latest service pack as far as I can tell) and we keep
having a weird problem.  If one of our pages generates a CFMail that has a
blank to address, for some reason ColdFusion generates many copies of that
mail (50K+).

Has anyone come across this and knows how to fix it?

Russ

 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Macromedia launches Flex (Was Royale)

2003-11-17 Thread David Keevil
Marlon.. ???
Please tell us Outsiders what that is.

>It does look cool! I applied for the beta a little while back, but looking
>at it now and at my plate, it looks like I should wait for the retail
>product.
>
>So if MM is keeping tabs, I'll bow out in favor of Marlon. :-)
>
>-Kevin
>
>
>- Original Message - 
>From: "Marlon Moyer" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Monday, November 17, 2003 10:31 AM
>Subject: Re: Macromedia launches Flex (Was Royale)
>
>
>> Oh man, this looks like a godsend! I am way too excited about this.
>>
>> 
>> You will accept my beta application.
>> 
>>
>>
>>
>> Mike Brunt wrote:
>>
>> > Ben Forta just blogged the launch of Macromedia Flex (previously
>Royale).
>> > Verbatim - "Flex is designed to leverage existing and standards based
>> > back-ends, and ColdFusion developers will find that they can use Flex to
>> > build sophisticated n-tier applications (with ColdFusion providing the
>> > back-end processing, and Flex generating the client-side code)."
>> > There's a Breeze preso here
>> > http://www.macromedia.com/software/flex/productinfo/brz_overview/
>> >
>> > Kind Regards - Mike Brunt
>> > Webapper Services LLC
>> > Web Site http://www.webapper.com
>> > Blog http://www.webapper.net
>> >
>> > Webapper 
>> >
>> >
>> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: 2 line charts

2003-11-17 Thread Mark A. Kruger - CFG
Dave,

That's what I figured.  Ok - thanks.

-Mark

  -Original Message-
  From: Dave Watts [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2003 11:27 AM
  To: CF-Talk
  Subject: RE: 2 line charts

  > I'm trying to do a comparison chart using CFgraph in CF 5.  
  > I'd like to be able to simply draw 2 lines on a single
  > graph.  Does anyone know of a way to do this?  I can't seem 
  > to get it done with cfgraphdata OR with a query.

  I don't think you can. This is one of the big functional additions to
  graphing in CFMX - the ability to chart multiple series. I suspect you'll
  have to use a third-party charting library to do this in CF 5.

  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  voice: (202) 797-5496
  fax: (202) 797-5444


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Access Bumeric datatype syntax

2003-11-17 Thread Dave Watts
> I have a numeric datatype Called Account_ID
> I need to get all the accounts starting begins with 
> Account_ID 9 or 6 or any numeric value. I tried Like % 
> but doesnot work any idea how can get the results. 

Well, first, if you're going to treat it as a string, it should probably be
stored as a string.

That said, if you want to treat a number as a string, you'll have to convert
it. For example, in SQL Server, you can use CONVERT:

SELECT ...
FROM ...
WHERE CONVERT(char(6), Account_ID) LIKE '9%'

The above example assumes that Account_ID is a six-digit number; you may
have to adjust your code accordingly.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




  1   2   >