Format variable using bind in a flash format form

Greetings
All though seems like a simple question, I seem to be missing something here. I have a form (in flash format) that calculates a value when a form item is selected. The value is actually a dollar value. I output the variable value in a cfformitem but I con't figure out how to diplay it as a dollor value, moreover, a value with trailing zeros when the value is a full dollar.
For example:
The amount $1.00 displays as 1 (I add the dolloar sign)
or $23.80 displays as 23.8
Code below:
<cfif 
IsDefined("Form.Submit")>
Total Cost:
<cfoutput>#form.TotalCost#</cfoutput><br />
</cfif> <cfform  format="flash"><cfformitem 
type="script">
var charge = '';
var p1 = 40.50;
var p2 = 29.75;
function cost():Void
charge = 0;
// share price
if (specialneeds.value==true) {
if (Session1.value==1) {
charge = (charge + p2);
if (Session2.value==1) {
charge = (charge + p2);
if (Session3.value==1) {
charge = (charge + p2);
// double price
else {
if (Session1.value==1) {
charge = (charge + p1);
if (Session2.value==1) {
charge = (charge + p1);
if (Session3.value==1) {
charge = (charge + p1);
}</cfformitem> <cfinput type="checkbox" label="Sharing?" name="specialneeds" value="true" checked="No" onClick="cost()" />
 <cfinput type="checkbox" label="Day 1" value="1" name="Session1" onClick="cost()" id="Session1" />
 <cfinput type="checkbox" label="Day 2" value="1" name="Session2" onClick="cost()" id="Session2" />
 <cfinput type="checkbox" label="Day 3" value="1" name="Session3" onClick="cost()" id="Session3" />
 <cfformitem bind="Total Cost: ${charge}" style="color:red;" type="text"></cfformitem>
 <cfinput type="hidden" id="TotalCost" name="TotalCost" bind="{charge}" />
 <cfinput type="submit" id="sumbit" name="submit" Label="Submit" value="Submit" /></cfform>
Any ideas how I can get around this?
Thanks for any input.

Awesome, Thank You BKBK!
Since I call this function several times, I just had to add:
integerPart = 0;
decimalPart = 0;
decimalPartWithoutPoint = "0";
At the beginning of the function. Commented code below for future reference.
<cfif  IsDefined("Form.Submit")>
Total Cost:<cfoutput>#form.TotalCost#</cfoutput><br />
</cfif> <cfform  format="flash"><cfformitem 
type="script">
var charge = 0;
var charge2 = 0;
var integerPart = 0;
var decimalPart = 0;
var decimalPartWithoutPoint = "0";
var p1 = 40.50;
var p2 = 29.75;
function cost():Void
charge = 0;
integerPart = 0;
decimalPart = 0;
decimalPartWithoutPoint = "0";
// share price
if (specialneeds.value==true) {
if (Session1.value==1) {
charge = (charge + p2);
if (Session2.value==1) {
charge = (charge + p2);
if (Session3.value==1) {
charge = (charge + p2);
// double price
else {
if (Session1.value==1) {
charge = (charge + p1);
if (Session2.value==1) {
charge = (charge + p1);
if (Session3.value==1) {
charge = (charge + p1);
// Charge amount * 100, round the value to nearest whole number (cents now become dollars) and rounds to nearest cent
charge=Math.round(charge*100)/100;
charge2=Math.round(charge*100)/100;
// get the closest integer that is less than or equl to the charge amount, or the dollar value
integerPart = Math.floor(charge);
// get the total number of cents from the transaction
decimalPart = charge - integerPart;
// this converts the decimalPart to a string if it is not a zero
if (decimalPart != 0) decimalPartWithoutPoint = decimalPart.toString().split(".")[1];
// this takes the interger & decimal values, converts it to a string then adds a "0" to the string
if (decimalPart == 0 || decimalPartWithoutPoint.length == 1) charge = integerPart.toString() + "." + decimalPartWithoutPoint + "0";
//var myAlert = mx.controls.Alert.show("Charge2 = " + charge2 + "\nIntegerPart = " + integerPart + "\ndecimalPart = " + decimalPart + "\nCharge = " + charge, "Math Information", mx.controls.Alert.OK, this);
//myAlert.show;
}</cfformitem> <cfinput type="checkbox" label="Sharing?" name="specialneeds" value="true" checked="No" onClick="cost()" />
 <cfinput type="checkbox" label="Day 1" value="1" name="Session1" onClick="cost()" id="Session1" />
 <cfinput type="checkbox" label="Day 2" value="1" name="Session2" onClick="cost()" id="Session2" />
 <cfinput type="checkbox" label="Day 3" value="1" name="Session3" onClick="cost()" id="Session3" />
 <cfformitem bind="Total Cost: ${charge}" style="color:red;" type="text"></cfformitem>
 <cfinput type="hidden" id="TotalCost" name="TotalCost" bind="{charge}" />
 <cfinput type="submit" id="sumbit" name="submit" Label="Submit" value="Submit" /></cfform>

Similar Messages

  • How to send HTML Format Mail using Java Mail in oracle 9i Forms

    Dear All
    could you please tell me how to send HTML Format Mail using Java Mail in oracle 9i Forms and how to implement the java mail ?
    if it is possible, could you please send me the sample code? please very urgent
    Thanks
    P.Sivaraman

    Hello,
    <p>Here is a Form sample.</p>
    Francois

  • How to use bind tool in flash

    i'm using flash cs5.5 . i have a problem with bind tool. how to use it.i'm trying lot of times, but i can't find how to use bind tool.please any can help me with a helpful answer.

    Hi Sampath,
    Please use this Help article to learn how to use Bind Tool.
    http://help.adobe.com/en_US/flash/cs/using/WS58BD3A02-DA25-488f-B534-AE5463A24833.html
    Please let me know if you would need more help.
    Thanks,
    Suhas Yogin

  • Using character tag content (not format) in a variable?

    Hi, all you Frame experts.
    In Microsoft Word, you can create a header that includes the STYLEREF field and "call" any text defined by any style, including character styles. Therefore, you can have a glossary with the glossary term "defined" with a character style, and use this to present the term in the document header (re: dictionary-style page headers).The benefit of this is that you can have a very simple page layout for a glossary (no table, side heads, etc.) and still have dictionary-style headings.
    In FrameMaker, it appears that you can only use a paragraph format in a variable that you use in the document header. Is this correct, or can you use a variable to "call" the content defined with a character format?
    For example, let's say that I want a glossary that is formatted as follows:
    Glossary term: A term that appears in the glossary... (where a character style, e.g. GlossTerm, is used to make the term bold, and the paragraph is a normal Body para.)
    Can I get the glossary term into the page header using a variable (or via any other simple FrameMaker method)? If not, then I'll use a table w/para. format for glossary term, but that is not the client's first choice.
    Please note that I don't want to get into any discussion of the merits of Word vs. FrameMaker. I'd just like to know if there is a simple solution to this in Frame.
    Thanks very much,
      --Gloria Mc

    The simple way to make a glossary with dictionary-style headers in FM is to
    use a paragraph set as "Run-In Head" to hold the glossary term, followed by
    a body paragraph to hold the glossary definition, for each glossary item.
    It's easy to set up the dictionary style headers. From FM9 help:
    Create a dictionary-style header or footer
    You can use dictionary-style headers or footers to show the range of
    information that appears on one body page or on two facing body pages.
    Dictionary-style headers or footers appear frequently in documents such as
    dictionaries, indexes, and glossaries.
    Headers show first entry on left and last on right. Insert a different
    running header/footer variable in the header or footer of each of two facing
    master pages. Edit the definition of the variable on the left master page to
    use the
    <$paratext[paratag]> building block. Replace paratag with the paragraph tag
    of dictionary terms. In the same way, edit the definition of the variable on
    the right master page to use the <$paratext[+,paratag]> building block. The
    plus sign tells FrameMaker to find the last paragraph on the page
    matching the tag rather than the first paragraph.
    1. Insert a different running header/footer variable in the header or footer
    of each of two facing master pages.
    2. Edit the definition of the variable on the left master page to use the
    <$paratext[paratag]> building block. Replace paratag with the paragraph tag
    of dictionary terms.
    3. In the same way, edit the definition of the variable on the right master
    page to use the <$paratext[,paratag]> building block. The plus sign ()
    tells FrameMaker to find the last paragraph on the page matching the tag
    rather than the first paragraph.

  • How do I copy songs from my iTunes to a flash drive in mp3 format to use in my car?

    How do I copy songs from my iTunes to a flash drive in mp3 format to use in my car?

    Drag them from the iTuness window to the Flash drive on the desktop

  • Query don't use the right index when using bind variables

    Hi people !
    I need some help because I have an issue with a query that don t use the right Indexes as it should
    First of all, I have mainly three tables :
    ORDER : Table that contains description for each Order (approximately 1 000 000 Records)
    ORDER_MVTS : Table that contains the tasks made (called movements) to set up each Orders
    with quantity of packages prepared for each product (approximately 10 000 000 Records)
    PRODUCT : Tables that contains the products (approximately 50 000 Records)
    When I launch the query with hard coded values, it brings back response very fast
    because it uses the right index (ORDER_DHR_VALID) which represent the date and hour of the order
    (with format 'DD/MM/YYYY HH24:MI:SS'). The selectivity for this index is good.
    NB 1: I have to use the trick " >= Trunc(date) and < trunc(date) +1 " to filter on a simple date because
    the index contains hour and minutes (I know it wasn't probably a bright idea at conception time).
    NB 2: The index on ORDER_MVTS.PRODUCT_CODE is'nt discriminating enough because there is'nt enough different products.
    It's the same for index on CUSTOMER_CODE and on MVT_TYPE so only the index on ORDER.DHR_VALID is good.
    Here is the correct explain plan when I execute the query with hard coded values :
    SELECT SUM(ORDER_MVTS.NB_PACKAGE)
    FROM ORDER_MVTS, PRODUCT, ORDER
    WHERE ORDER.DHR_VALID >= TRUNC(to_date('14/11/2008 10:04:56','DD/MM/YYYY HH24:MI:SS'))
    AND ORDER.DHR_VALID < TRUNC(to_date('14/11/2008 10:04:56','DD/MM/YYYY HH24:MI:SS')) + 1
    AND ORDER_MVTS.MVT_TYPE = 'DELIVERY'
    AND PRODUCT.CODE = ORDER_MVTS.PRODUCT_CODE
    AND ORDER_MVTS.ORDER_CODE = ORDER.CODE
    AND ORDER.CUSTOMER_CODE = 'ADIDAS'
    AND PRODUCT.CODE = 1234
    Rows Row Source Operation
    1 SORT AGGREGATE
    2 NESTED LOOPS
    4 NESTED LOOPS
    2 INDEX UNIQUE SCAN (object id 378548) --> PRODUCT_PK
    4 TABLE ACCESS BY INDEX ROWID ORDER
    777 INDEX RANGE SCAN (object id 378119) --> ORDER_DHR_VALID
    2 TABLE ACCESS BY INDEX ROWID ORDER_MVTS
    30 INDEX RANGE SCAN (object id 377784) --> ORDER_MVTS_ORDER_FK
    Now the problem is when the query is used in a Cursor with bind variables.
    It seems like Oracle don't use index on ORDER.DHR_VALID because he can't figure out that he have
    to actually filter on a short period of time (only one day).
    So Oracle uses the index on ORDER_MVTS.PRODUCT_CODE which is'nt a bright idea (it takes 10 secondes instead of just one)
    Here is the bad explain plan :
    Rows Row Source Operation
    1 SORT AGGREGATE
    2 NESTED LOOPS
    722 NESTED LOOPS
    2 INDEX UNIQUE SCAN (object id 378548) --> PRODUCT_PK
    722 TABLE ACCESS BY INDEX ROWID ORDER_MVTS
    1790 INDEX RANGE SCAN (object id 377777) --> ORDER_MVTS_PRODUCT_FK
    2 TABLE ACCESS BY INDEX ROWID ORDER
    1442 INDEX UNIQUE SCAN (object id 378439) --> ORDER_PK
    Now I have found two solutions to this problem :
    1) using a Hint to force the use of index on ORDER.DHR_VALID (with /*+ INDEX(ORDER ORDER_DHR_VALID) */ )
    2) Using Dynamic SQL and keeping the date hard coded (but not the other values except mvt_type)
    For example :
    QUERY :=
    'SELECT SUM(ORDER_MVTS.NB_PACKAGE)
    FROM ORDER_MVTS, PRODUCT, ORDER
    WHERE ORDER.DHR_VALID >= TRUNC(TO_DATE('''||To_char(P_DTE_VAL,'DD/MM/YYYY')||''',''DD/MM/YYYY'')) '||
    AND ORDER.DHR_VALID < TRUNC(TO_DATE('''||To_char(P_DTE_VAL,'DD/MM/YYYY')||''',''DD/MM/YYYY'')) + 1 '||
    AND ORDER_MVTS.MVT_TYPE = 'DELIVERY'
    AND PRODUCT.CODE = ORDER_MVTS.PRODUCT_CODE
    AND ORDER_MVTS.ORDER_CODE = ORDER.CODE
    AND ORDER.CUSTOMER_CODE = :CUSTOMER
    AND PRODUCT.CODE = :CODE ';
    These two solutions work but Number 1 is bad in theory because it uses a Hint
    and Number 2 may be difficult to code.
    So my question is : Does someone knows another solution to force the use of index ORDER_DHR_VALID that can be simple and reliable.
    Thank you very much for support
    Edited by: remaï on Apr 1, 2009 4:08 PM

    What version of oracle you have? CBO work is different in 9i and 10g.
    Usually cost based optimizer do not want to use index for >< condition with binding variables because optimizer can not use statistic to determine selectivity, and by default selectivity of <> operators is low.
    (As I remember '>' selectivity by default is 5%, you have two conditions > and <, therefore resulting selectivity will be 0.05*0.05=0.0025 as two independent events, but selectivity of other conditions
    ORDER_MVTS.MVT_TYPE = 'DELIVERY' or ORDER.CUSTOMER_CODE = 'ADIDAS' looks much better for CBO)
    The best solution I see is do not use binding variables. Actually your query looks as searching query, which executes not so often, therefore you will not have perfomance win along of skipping execution plan creation.
    Edited by: JustasVred on Apr 1, 2009 10:10 AM

  • Query taking too long when using bind variable

    Hi All,
    There is a query in our prod DB which runs very slow (approx 2 hours) when it uses Bind Variables (using JDBC thin client), and when i try passing the variable using TOAD/SQL developer it runs fine.
    Explain Plan for running Query
    SELECT STATEMENT ALL_ROWSCost: 146 Bytes: 379 Cardinality: 1                                                   
         21 SORT ORDER BY Cost: 146 Bytes: 379 Cardinality: 1                                              
              20 NESTED LOOPS Cost: 145 Bytes: 379 Cardinality: 1                                         
                   17 HASH JOIN Cost: 22 Bytes: 42,558 Cardinality: 123                                    
                        15 MERGE JOIN CARTESIAN Cost: 15 Bytes: 8,910 Cardinality: 27                               
                             12 FILTER                          
                                  11 NESTED LOOPS OUTER Cost: 9 Bytes: 316 Cardinality: 1                     
                                       8 NESTED LOOPS OUTER Cost: 8 Bytes: 290 Cardinality: 1                
                                            5 NESTED LOOPS Cost: 6 Bytes: 256 Cardinality: 1           
                                                 2 TABLE ACCESS BY GLOBAL INDEX ROWID TABLE GDP.GDP_FX_DEALS_INCREMENTOR Cost: 4 Bytes: 28 Cardinality: 1 Partition #: 9 Partition access computed by row location     
                                                      1 INDEX RANGE SCAN INDEX GDP.GDP_FX_DEALS_INC_IDX_01 Cost: 3 Cardinality: 1
                                                 4 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 2 Bytes: 228 Cardinality: 1      
                                                      3 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 1 Cardinality: 1
                                            7 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 2 Bytes: 34 Cardinality: 1           
                                                 6 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 1 Cardinality: 1      
                                       10 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_COUNTERPARTIES Cost: 1 Bytes: 26 Cardinality: 1                
                                            9 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.PK_CPTY Cost: 0 Cardinality: 1           
                             14 BUFFER SORT Cost: 14 Bytes: 448 Cardinality: 32                          
                                  13 TABLE ACCESS FULL TABLE GDP.GDP_CITIES Cost: 6 Bytes: 448 Cardinality: 32                     
                        16 TABLE ACCESS FULL TABLE GDP.GDP_AREAS Cost: 6 Bytes: 2,304 Cardinality: 144                               
                   19 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_PORTFOLIOS Cost: 1 Bytes: 33 Cardinality: 1                                    
                        18 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.PORTFOLIOS_KEY Cost: 0 Cardinality: 1                               
    Explain Plan for Slow Query
    Plan
    SELECT STATEMENT ALL_ROWSCost: 11,526,226 Bytes: 119,281,912 Cardinality: 314,728                                                   
         21 SORT ORDER BY Cost: 11,526,226 Bytes: 119,281,912 Cardinality: 314,728                                              
              20 HASH JOIN Cost: 11,510,350 Bytes: 119,281,912 Cardinality: 314,728                                         
                   2 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_PORTFOLIOS Cost: 1,741 Bytes: 177,540 Cardinality: 5,380                                    
                        1 INDEX FULL SCAN INDEX (UNIQUE) GDP.PORTFOLIOS_KEY Cost: 14 Cardinality: 5,380                               
                   19 HASH JOIN Cost: 11,507,479 Bytes: 87,932,495,360 Cardinality: 254,140,160                                    
                        3 TABLE ACCESS FULL TABLE GDP.GDP_AREAS Cost: 6 Bytes: 2,304 Cardinality: 144                               
                        18 MERGE JOIN CARTESIAN Cost: 11,506,343 Bytes: 18,602,733,930 Cardinality: 56,371,921                               
                             15 FILTER                          
                                  14 HASH JOIN RIGHT OUTER Cost: 3,930,405 Bytes: 556,672,868 Cardinality: 1,761,623                     
                                       5 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_COUNTERPARTIES Cost: 6,763 Bytes: 892,580 Cardinality: 34,330                
                                            4 INDEX FULL SCAN INDEX (UNIQUE) GDP.PK_CPTY Cost: 63 Cardinality: 34,330           
                                       13 HASH JOIN OUTER Cost: 3,923,634 Bytes: 510,870,670 Cardinality: 1,761,623                
                                            10 HASH JOIN Cost: 2,096,894 Bytes: 450,975,488 Cardinality: 1,761,623           
                                                 7 TABLE ACCESS BY GLOBAL INDEX ROWID TABLE GDP.GDP_FX_DEALS_INCREMENTOR Cost: 2,763 Bytes: 52,083,248 Cardinality: 1,860,116 Partition #: 14 Partition access computed by row location     
                                                      6 INDEX RANGE SCAN INDEX GDP.GDP_FX_DEALS_INC_IDX_01 Cost: 480 Cardinality: 334,821
                                                 9 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 1,734,205 Bytes: 8,320,076,820 Cardinality: 36,491,565      
                                                      8 INDEX FULL SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 104,335 Cardinality: 39,200,838
                                            12 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 1,733,836 Bytes: 1,331,145,696 Cardinality: 39,151,344           
                                                 11 INDEX FULL SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 104,335 Cardinality: 39,200,838      
                             17 BUFFER SORT Cost: 11,499,580 Bytes: 448 Cardinality: 32                          
                                  16 TABLE ACCESS FULL TABLE GDP.GDP_CITIES Cost: 4 Bytes: 448 Cardinality: 32                     
    How can I avoid that.
    Thanks

    Hello
    Could you reformat your execution plans because they aren't particularly readable. The forums allow you to preserve the formatting of code or output by putting the symbol {noformat}{noformat} before and after the section of text you want to preserve formatting for. 
    If you write
    {noformat}select * from v$version
    {noformat}
    it will be displayed asselect * from v$version
    So can you run this above statement and post the output here so we know the full oracle version you are working with?  And finally, it would be really helpful to see the query you are running.  When you say it runs fine in Toad, is that when you replace the bind variables with the values or are you also using bind variables in Toad?
    Cheers
    David                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Format string using Regular Expression

    Input string output format...
    SELECT q'<select ab_c "ABC", efg "EFG" from dual>' str FROM DUAL
    Output:
    STR                                 
    select ab_c "ABC", efg "EFG" from dual
    Required output format using regular expression...
    STR                                 
    select 'ab_c' "ABC", 'efg' "EFG" from dual

    Regular expressions have many limitations as parsing tools, and you didn't specify the rules you wanted. This expression puts quotes around the non blank string before a quoted string:
    SELECT regexp_replace(q'<select ab_c "ABC", efg "EFG" from dual>',
                          '([^" ]+)( +"[^ ]*")' , '''\1''\2' ) str FROM DUAL;
    STR
    select 'ab_c' "ABC", 'efg' "EFG" from dual
    {code}
    It is not robust - a missing " will confuse it, and you should be using bind variables anyway.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What is the best format to use on an external hard drive so I can both back up my Macbook Pro and also put movies on it from another hard drive (PC)?

    I am looking for a solution to whether if it is best to get two hard drives or one that can do two things that I want.
    I am looking for a hard drive format that can both back up my 500GB Macbook Pro but I was also wondering if I could also put movies on it from another hard drive that is PC based. Would partitioning the hard drive work for this? I don't know what are the best formats to use.
    If this is too hard it might just be easier having a separate 500GB hard drive for back up of my Mac and another bigger hard drive for the movies etc (the files are probably bigger than 4GB). Any help would be greatly appreciated as I need to make a decision soon!

    Csound1 wrote:
    Microsoft has not released the official exFAT file system specification, and a restrictive license from Microsoft is required in order to make and distribute exFAT implementations. Microsoft also asserts patents on exFAT which make it impossible to re-implement its functionality in a compatible way without violating a large percentage of them.[13] This renders the implementation, distribution, and use of exFAT as a part of free or open-source operating systems or of commercial software, for which the vendors could not obtain a license from Microsoft, not only technically difficult, but legally impossible in countries that recognize United States software patents.
    Can't help with that, if one is using a Windows machine then they are subjected to their rules and control.
    Limited support outside Windows and Mac OS X operating systems as of 2012, when most consumer electronic devices could only handleFAT12/FAT16/FAT32, rendering exFAT (and flash memory formats using it) impractical as a universal exchange format.
    The OP said they plan to store movies on the external drive.
    Many movies today are well over 4GB in size, thus exFAT has to be used and formatted on the PC, which the Mac can then read.
    Older Windows NT versions up to Windows Vista without Service Pack 1 do not support exFAT.
    Irrelevant, Microsoft provides a free download of exFAT for Windows XP, and Vista shouldn't be running on pre SP1 anyway.
    Some distributions of Linux have begun to include support for exFAT. It is however, only available as a file system in user space, as it's not supported by the kernel.
    Irrelevant, OP is using Windows and OS X, not Linux and if they did Linux can read the files at least and transfer, which is all they care about really.
    Windows Vista is unable to use exFAT drives for ReadyBoost. Windows 7 removes this limitation, enabling ReadyBoost caches larger than 4 GiB.[14]
    Irrelevant, the OP's is intending to use it as transfer drive between Mac's and Windows for movies.
    The standard exFAT implementation only uses a single file allocation table and free space map. FAT file systems instead used alternating tables, as this allowed recovery of the file system if the media was ejected during a write (which occurs frequently in practice with removable media). The optional TexFAT component adds support for additional backup tables and maps, but may not be supported.
    Some relevancy, but only exFAT can handle 4GB+ files between Mac's and PC's, so the need outweighs the possible problem.
    The OP needs to follow the standard Windows practice of "safely removing hardware" before physically disconnecting the external drive. If a write is occurring, it won't allow disconnecting until the write is finished.
    Support for up to 2,796,202 files per subdirectory only.[1][nb 3] Microsoft documents a limit of 65,534 files per sub-directory for their FAT32 implementation, but other operating systems have no special limit for the number of files in a FAT32 directory. FAT32 implementations in other operating systems allow an unlimited number of files up to the number of available clusters (that is, up to 268,304,373 files on volumes without long filenames).[nb 4]
    Not a issue, only in extreme cases of a lot of small files. The OP plans to use it for movies which are usually large and take up a lot of space on the drive.
    IMMO It looks like you just ran off and copied something to argue your point when all the points are basically irrelevant.
    There is only one format that can easily share 4GB sized files between Mac's and PC's without further complications.
    It's ALSO possible to install MacDrive on the PC and format the drive on the Mac HFS+, but I didn't recommend that because I know it's a hassle just like third party NTFS writing software is a hassle on Mac's.
    If you so anti-Microsoft format, then you must know Paragon has to pay a license fee to Microsoft for using the NTFS format.
    At least with exFAT there is no fee to Redmond, at least not yet.

  • Cfgrid not displaying in flash format

    <cfform format="flash" width="1000"
    action="editContact.cfm">
    <cfgrid name="contact" query="contact_details"
    selectmode="edit" insert="yes" delete="yes" height="200"
    width="1000" align="middle">
    <cfgridcolumn name="ID" display="no">
    <cfgridcolumn name="FIRST_NAME">
    <cfgridcolumn name="LAST_NAME" >
    <cfgridcolumn name="JOB_TITLE">
    <cfgridcolumn name="EMAIL" >
    <cfgridcolumn name="PHONE">
    </cfgrid>
    <br>
    <cfinput type="submit" value="submit" name="submit">
    </cfform>
    Hi, the code above using cfgrid in flash format used to
    display perfectly. But after some time, without changing the code,
    cfgrid is not displaying anymore. Any reasons why this is
    happening? Thanks.

    What error do you see? Anything?
    Try tracing the page request by using coldfusion/jrun's
    sniffer.exe,
    Charles, or some other
    tool. See what is going on. If the applet is starting to load,
    enable the java console and review the errors there.
    Does this issue happen on multiple client machines or just
    one? What version of CFMX7 are you using (run sysinfo from
    cfadmin).

  • Chart format to use fro copying it as an image

    Hi,
    I am currently developping flash charts. I would like to be able to copy the chart as an image in order for end-users to paste them into Word documents.
    it is not possible with Flash charts. What kind of chart to use ? I tried the HTML charts but it is a table with pics. i tried the SVG report, but could not get a visible result (I mean the lines where not displayed).
    My question is : what chart format to use in order to be able to copy and paste the chart as an image ?
    I apologize for my english, being french.
    Kind thoughts
    Christian

    In Windows you can use Alt+Print Screen
    This will take a snapshot of your screen which you can then Ctrl+V (Paste) into a Word document.
    You can then crop the screenshot to size/higlight the area of interest.
    I know this is a late reply but it may help others wanting to do the same.
    Kind regards
    Simon

  • Error in CF form in flash format

    Hi
    I receive the following error when loading a CF form in a
    Flash format...
    Errors, warnings or exceptions were found when compiling
    /mystore/admin/purchases_not_processed.cfm. Visit the online Flex
    documentation or API reference for further information.
    1 Error found.
    Error
    C:\Inetpub\wwwroot\MyStore\admin\purchases_not_processed.cfm:4
    A function in the code exceeds the 64K byte limit (actual
    size = '122810'). Since the problem occurs in the
    compiler-generated deferred instantiation code, please
    refactor/componentize portions of this document.
    How do i overcome this error?
    I hope someone can assist with this...
    Thanks in advance...
    Regards
    Mr Pappy

    Karl, is your problem still happening?
    If so, are you sure that your web site (is it IIS) is set so that the CFIDE it points to is the one inside CF11?  We see from the screenshot you shared that inside the stack trace it points to the page as running in some /CFIDE folder (as if it’s the root of a file system—and it’s odd, because there’s no drive reference, which would be there normally on Windows.)
    Normally, it should point to the coldfusion11\cfusion\wwwroot\CFIDE folder, which is where CF11 puts that folder by default.  If your web site is pointing at some other folder for that, it could simply be that your Admin was using a different version of code for that mail settings page than CF11 is expecting you to use.
    Let us know if that helps.
    /charlie

  • Encore Help | Exporting projects to Flash format

    This question was posted in response to the following article: http://helpx.adobe.com/encore/using/exporting-projects-flash-format.html

    It strikes me that Adobe can't settle on what to call an Encore project that has been output to Flash.
    Is it a "Web DVD"? That term is used repeatedly in the New Features section. Is it simply "Flash". The Build panel lists the format as "Flash" and the Output as "Flash (.swf)." Or is it a "Flash DVD" or a "Flash Project"? Both terms are used in this page.
    Flash output is an important feature of Encore. It would be a good thing to use a consistent name for the assets you end up with after you output to Flash.

  • Best Video format to use for Windows

    I am creating a CD ROM (for Windows) that will show 3D animation. I need to make sure that the animations will play on user's computers without any problems.
    What is the best video format to use?

    Flash video has no dependency on pre-installed players, so is often a good choice

  • Incorrect XML format for outbound binding

    Hi,
    I am in the process of configuring a scenario where we are sending PO's from SRM to XI in XML format and later we want these PO's in XML format to be sent to a vendor.  I am able to send the XML from SRM to XI, but I get the following error message (probably while sending the XML to the external application):
    Incorrect XML format for outbound binding , , NO_TO_SERVICE_NAME, MI_Order_CreateOrChangeVendorView_In, urn:poscenario:srm:xi:vendor
    Unable to find element OutboundBindingAttributes: Node DY1WebMethodsMI_Order_CreateOrChangeVendorView_Inurn:poscenario:srm:xi:vendor8f16f906899838c7a4b64634e8140706686c72620ed63ed28c12a634f905d0ce.
    You help will be highly appreciated.
    Regards,
    Ravinder Masuta

    Hi Tanja,
    Now I tried to use the XI channel and I become the same problems. Maybe me configure of the "Receiver Agreement" is wrong.
    sender-service      A1CLNT100
    receiver-service    A2CLNT100
    receiver-Interface: ORDERS.ORDERS05
    namespace:          urn:sap-com:document:sap:idoc:messages
    communication channel : IDOC
    But without the IDOC-channel I become this error message:
    OUTBOUND_BINDING_NOT_FOUND --- no Receiver Agreement found
    Regards
    Christoph

Maybe you are looking for