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.

Featured Replies

  • Newbies

Hi,

Im in deep trouble

I need help using scripts

I am making a homework managing app for a project and i have created a few fields; date due, subject, task, and task type

I need help on how to process this information and show computational thinking 

I need help in creating POP UPS!!

I am looking for something, when clicked on, pops up a screen showing the outstanding work when the user clicks on button 1 which has a date which has past . AND I'm also trying to make a button 2 which shows entries that are close to the next few days 

please help as soon as possible and suggest any features i can add to the homework manager and how to write the script for the buttons

 

Pop Up windows are pretty easy - the New Window script step deals with them... Making them work nicely on both Windows and Mac is bit harder.

First script would open a new window, then go to a relevant layout and search for dates before now.

Second script would open a new window, go to a relevant layout and search for a date range from today until x days in the future.

Given how similar those two functions are, I'd also investigate using a ScriptParameter to pass to a SINGLE script that then does a different search depending on the button pressed.

Welcome to the forums. Webko gave you a good start.

I'm not sure how much you already know. For example, if a calculation involves 'today' then Get(CurrentDate) is the function. Doing math with dates is very simple, just add or subtract an integer to/from a date.

I'd also suggest that if you're trying to make a kind of dashboard, you might want to do this with relationships and portals rather than buttons and scripted Finds.

I've moved your post to the Managing Scripts topic. Please try to ask one question at a time. You are more likely to get responses.

I just noticed that you posted the exact same question here:

https://community.filemaker.com/thread/152127

When you do this, please mark your posts as [XPOST] so that people don't waste their time writing duplicative answers.

I also noticed that you marked the answer there as "correct" even though it is specific to FileMaker 13 or higher. But here you set your user profile to FileMaker 11, so you got an answer relevant to that version. Please help us to help you by updating your profile to the version you're actually using.

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.