Jump to content
Sign in to follow this  
Bob Westfield

Percent Problems, PLEASE help!

Recommended Posts

I'm using FM Pro 5 Unlimited and am trying to serve the data using FM WebServer Assistant. So far so good.

The problem comes when I try to display my some of the data. I've converted data in FMPro to display percentages. I've then used HomePage to generate the html and cdml tags for the page.

Unfortunately, the data displays as decimal type, not percentages. (Though the database is displaying percentages)

Can someone please help me? I've done everything I know to do, but it still displays in html as decimal data.

I convinced my boss to go with Filemaker over another product and my head is hanging in the balance over this.

Thanks in advance for any help.



Share this post

Link to post
Share on other sites

One workaround to your problem is creating a calc field. I would simply multiply the number by 100 and add "%". calc would be something like percentfield*100 & "%"

put the calc field on the web instead of the original field. Filemaker formatting does not get pushed out to the web and you are using FM formatting to show it as a whole percentage (like 25% instead of .25) but in the field it actually has the number as a decimal.

I hope that clears things up and actually helps.



Share this post

Link to post
Share on other sites

Do not bother with a calculation within FMP. Use the new tag 'format' after the field. For example: [fmp-field :pct, format]. Do NOT use Claris Home Page to add this option unless you turn off any abilities for HP to modify your code. HP does not recognize the 'format' tag and removes it.

[This message has been edited by skoontz (edited September 09, 2000).]

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By puterco
      I have published my database using CDML pages and I want each web address field to act as a link witch goes directly to the address contained in the field. Example of the HTML code on the search results page:
      [FMP-FIELD: email] *how can I link this field to act as "mailto://(value in the field)"

      [FMP-FIELD:web-address] *how can I link this to act as "http://(value in the field)"
      Any help will be highly appreciated the dead line for these pages were yesterday and I need to get these features online as soon as possible. Thanks...
    • By kwatson
      Does anyone know how to allow users to input graphics into a database posted on the web? Home Page tells me container fields won't work.
    • By Randy Abulon
      Has anyone tried the connector on Windows 2000 and had some success with it? The company I work for just got FMPro5 Unlimited, but we mostly a Win2K shop; including the intranet server... How do I make it work?
    • By OSXS
      Dear all:
      I am facing the following problem: I am setting up a www-interface using CDML for the first time. I get the behavior I want, and everything works fine.
      But there's one big question: In the CDML reference, I cannot find any tags that allow authentication of users using the FM-database built-in access privileges.
      Any ideas?
    • By pem
      Does portals work i www mode?
      I have a field in a portal that works in filemaker but not in www mode. In filemaker it
  • Who Viewed the Topic

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.