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.

inputting values to change related file/portal

Featured Replies

Hi,

I'm trying to change some features on a student database solution which was designed by someone that we no longer want to employ (don't ask!).

It was originally a FM6 solution but I've converted it to FM7 whilst still keeping it as 16 related separate files.

What I'd like to do is track whether students have handed in a specific assignment by using a handheld text scanner to input the student's id number into a field in the Assignments table which then copies the student's details into the Completed Assignments table.

At the moment we have 2 portals in the Assignments Tracking layout. One of these shows the students who are registered on that module; clicking on a button next to a student's name will transfer that student's details over to the Completed Assignments table, as shown in the 2nd portal on the page. This solution works fine but I think that scanning in the student IDs would save time.

Currently the button in the "current students" portal performs the following script:

Set Field [ Assignments::TempStudentId_g; Studies::StudentSerialID ] 

Commit Records/Requests 

Go to Field [ CompletedAssignments::Student_Serial ] 

Go to Portal Row [ Select; Last ] 

Set Field [ CompletedAssignments::Student_Serial; Assignments::TempStudentId_g ] 

Commit Records/Requests   

Does anyone have any ideas on how I could get this working?

Set the scanner to produce a tab at the end of the scan. The scan will go in Assignments::TempStudentId_g. Use a plug-in that provides event triggers to run the script. You no longer need the first script step.

  • Author

Hi,

Thanks for replying. One more thing that I forgot to mention is that each student has a unique 8 digit "student ID" which is used throughout college for identification, however in his wisdom the original database designer has also given each student a 3 digit "Student serial ID" which is how the script identifies the appropriate student. Both ID numbers are stored in the Studies table. As we need to use the longer number I've tried just replacing "student serial ID" with "student ID" in the script, but clicking the button just creates a new record with just the student ID without linking to the relevant student in the Completed Assignments portal.

Thanks

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.