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.

find using a global field

Featured Replies

I'm using FileMaker 5.5 .

I have a report layout and a find layout.

I have a script that takes the user to the find layout and shows the result on the report layout.

On the report layout I have a global field so that the user enters data on that global field to prevent the user from changing data by mistake. The problem is that it isn't possible to enter data in a global field during find ? In case it's not possible what should I do to prevent user from entering data by mistake, instead of using the report field on the find layout ?

Luiza

Well actually the sequence should be:

  • Set Error Capture on
  • Go to find layout
  • Set globals
  • Enter Find Mode
  • Set fields from globals
  • Perform Find
  • Check if found anything
  • If yes do appropriate action, like go to reprot layout
  • otherwise tell the user he/she didn't fine anything

Dj smirk.gif

  • Author

The sequence I've done is similar to the one you described.

I've also tried using set field and also tried using copy paste, but both ways don't paste the data on the field.

It goes like this :

Go to layout Find

Copy select _gName

Go to Layout Report

Enter Find Mode

Paste select Name

Perform Find

Set field _gName = ""

If I do it manually it works, but when I use the script it doesn't work.

I've inserted pause/Resume Script to see where the problem is and I found that it's after enter Find Mode because it doesn't paste.

Do you have any clue ?

Luiza

Not sure what the problem is, but lose the copy and paste. It's bad practice anyway. Use a SetField to move the value from the global to the find field. Also make sure the that the global field REALLY is a global field.

-bd

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.