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.

need a script to let me set a value list in a loop

Featured Replies

Hi

I need a script to let me set a value list field in a loop, search related records and save it as excel.

I don't know how to write the script. any help?

Nader

...set a value list field...

Not sure what you mean by that.

1) a value list is just a list of values

2) fields are fields

If you refer to a field that is formatted as a menu, list, check boxes or radio buttons, then it's still just a field. Just enter the value into it with the Set Field[] step.

Say you have a check box field "active". To search for all records with the checkbox selected, search for the text "active" in it. If you want to search for the field unselected, search for empty "=".

  • Author

Many thanks for reply,

I think I explain my problem in a bad way. I have table with two field. 1- name and 2- date. anytime any nurse came to visit my grand mother, I enter his/her name and visited date in a record. at the end of the month i need a separate list of each nurse and the number of days that he or she visited my GM. I try to write a script to make the list and export them as excel file for each nurse in one loop.

is it possible?

thanks in advance

Do you have a another table for the nurses where each nurse has a unique record? It can get a bit complex without it.

  • Author

No I don't have any other table. how could it help me and what design should it be?

Thanks

... at the end of the month i need a separate list of each nurse and the number of days that he or she visited my GM.

A summary report should do this, and it will be accurate as long as the nurse's names are entered consistently. No looping scripts necessary. Just find the date range of visits, then sort by nurse name and change to the report layout.

... and export them as excel file for each nurse

A summary report should do this

Do go on, please.

  • Author

Thank you so much guys,

your suggestion opens a new door to solve many problems for me.

I made a report layout which show exactly what I want, the only problem is how can I set the report for date range?

kind regards

Thank you so much guys,

your suggestion opens a new door to solve many problems for me.

I made a report layout which show exactly what I want, the only problem is how can I set the report for date range?

kind regards

Do a find by the date range - then do the report

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.