Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

automated way to determine if a field is an auto-enter calculations and lookup fields

Featured Replies

I'm dealing with a rather large system and have written an automated way to build out lists of all the non-container, non-calculation, non-global, non-summary fields. Now, I need to also exclude lookups and auto-enter replaces existing value fields. Here's the calculation as it stands:

 

not ( 
   PatternCount ( $field_type; "StoredCalc" ) or 
   PatternCount ( $field_type; "Summary" ) or 
   PatternCount ( $field_type; "UnstoredCalc" ) or 
   PatternCount ( $field_type; "Global" ) or
   PatternCount ( $field_type; "Container" )
)
 
Any ideas on how to obtain this information with a function? 
 
Thanks!
 
I also attached the script I'm working on as a PDF though I doubt referencing it is necessary.
 
FileMaker Pro 13, Mac OSX Mavericks

I don't see a script attached. In any case, I don't know of a way to collect this information other than by producing a Database Design Report (unless there's some undocumented ExecuteSQL code?). Why would you need this inside the solution anyway?

I don't see a script attached. In any case, I don't know of a way to collect this information other than by producing a Database Design Report (unless there's some undocumented ExecuteSQL code?). Why would you need this inside the solution anyway?

 

I'm almost certain 'comment' is correct.

If your system runs a DDR on some kind of schedule, you could set up something to parse the XML generated for "Field" nodes whose "AutoEnter" sub-node has the attribute "overwriteExisting"=True. 

 

 

Are you doing this to be able to automate some kind of backup/export/data-transfer process? If you say more about why are trying to do this, there may be other possibilities. 

I'm not at a computer at the moment but I don't believe it's possible to script the creation of a DDR.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.