Jump to content

ghost record


Slobey

This topic is 7011 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

I have a portal in my solution with a number of calculation fields. 2 of these calc fields show $0.00 on the last row which is not a record.

The fields:

Desc Bid Price=

"Desc Cost + Desc MU Amt" &

Total Desc Bid Pre=

"Desc Bid Price * Quantity"

show $0.00 on the last row.

The fields:

Total Desc Cost =

"Desc Cost * Quantity" &

Total MU =

"(Desc M U Entry / 100) * Total Desc Cost"

show nothing.

All fields have same number format: format as decimal, fixed number of 2, $ notation, use thousands separator.

How can I get rid of the ghost $0.00 and what makes them appear on some calcs and not on others

Link to comment
Share on other sites

  • Newbies

From Filemaker Pro 7 Article 108661, I typed into Scriptmaker this script.

It works but gives me essential ALL the duplicates. I need to see only records with 2 or more duplicates.

Where do I need to modify this script to make it work?

Thank you in adance for your help

Enter Find Mode [ ]

Set Field ["CountDups",""> " & GlobalDupsOK"]

Perform Find [Replace Found Set]

Sort [Restore, No dialog]

Pause/Resume Script [ ]

Go to Record/Request/Page [First]

Loop

Set Field ["GlobalOmit","GlobalDupsOK"]

Loop

Exit Loop If ["GlobalOmit=0"]

Omit Record

Set Field ["GlobalOmit","GlobalOmit-1"]

End Loop

Set Field ["GlobalCounter","CountDups - GlobalDupsOK"]

Loop

Exit Loop If ["GlobalCounter=0"]

Go to Record/Request/Page [Exit after last, Next]

Set Field ["GlobalCounter","GlobalCounter-1"]

End Loop

Exit Loop If ["Status(CurrentRecordNumber)=Status(CurrentFoundCount)"]

End Loop

Link to comment
Share on other sites

This topic is 7011 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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