Quantcast
Channel: FileMaker Forum > Report an issue
Viewing all articles
Browse latest Browse all 3510

Custom Menus - Override Name for "Delete All Records . . ." Not Updating (2 Comments)

$
0
0

Issue report by databuzz

Product

FileMaker Pro

Version

13.01

Operating system version

Mac OS X 10.9

Description of the issue

I've setup an override for the name for the "Delete All Records . . ." command using a calculation as follows:

Case (
Get ( FoundCount ) = Get ( TotalRecordCount ) ; "Delete All Contacts..." ;
Get ( FoundCount ) < Get ( TotalRecordCount ) ; "Delete Found Contacts..." ;
"Delete All Contacts..."
)

I've found that the menu name isn't updating. For example if I have the following:

Total Record Count: 10
Found Count: 5
Menu Name: "Delete All Contacts..."

I then enter Find Mode and then enter Browse Mode to force the window to update and the correct Menu Name appears. If I then do a Show All Records command I get the following:

Total Record Count: 10
Found Count: 10
Menu Name: "Delete Found Contacts..."

Once again if I enter Find Mode and then enter Browse Mode to force the window to update and the correct Menu Name appears.

Performing the Refresh Window menu command does not update the Menu Name. If I have the same calculation in the Data Viewer it shows the correct results.

Steps to reproduce the problem

1. create a custom menu set that includes the Records menu
2. override for the name for the "Delete All Records . . ." command using a calculation as follows:

Case (
Get ( FoundCount ) = Get ( TotalRecordCount ) ; "Delete All Contacts..." ;
Get ( FoundCount ) < Get ( TotalRecordCount ) ; "Delete Found Contacts..." ;
"Delete All Contacts..."
)

3. Modify the current found set so that it is less than the total record count, e.g.

Total Record Count: 10
Found Count: 5

4. Go to the Records menu - the name for the "Delete All Records..." item is "Delete All Contacts..."

Expected result

The name for the "Delete All Records..." item should be "Delete Found Contacts..." ;

Actual result

The name for the "Delete All Records..." item is "Delete All Contacts..."

Workaround

Changing modes (e.g. from Browse to Find back to Browse) appears to redraw the menu correctly

Screenshot


Viewing all articles
Browse latest Browse all 3510

Trending Articles