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.

Solution for Job Number - Best Practice Please?

Featured Replies

I have a Clients Table + a Jobs Table.

I have a Relationship of Jobs to Jobs where (IDclient and the Year Job was created Match)

Because I want to create a unique job number that identifies the year it was created + order in which is was requested by the client.

I have set a portal in the Jobs Layout to

display Jobs related by id +year.

Sorted in descending order.

This portal is displaying a unique job number utilizing...

The last 2 year digits (date_year)

The client code (client_code)

and the portal row number via Case( Clients::IDClient; Get( RecordNumber))

ex.

11-ME001

11-ME002

11-ME003

The example above is my job number, which displays correctly in the portal.

How do I get that number to display on the individual Job Layout?

I hope I was clear. I need to get back into database and filemaker lingo.

Thanks.

I want to create a unique job number that identifies the year it was created + order in which is was requested by the client.

Filemaker makes it very difficult to create such numbering reliably. See:

http://fmforums.com/...655#entry347655

I'm afraid I didn't understand the rest of your post.

  • Author

Thanks. I understand the rationale in the link.

Totally makes sense...

But I still would like to utilized this naming convention.

Jobs created in filemaker are associated with files on the harddrive.

Using a numbering system like is more efficient for the finding of files.

So are there no real options?

Jobs created in filemaker are associated with files on the harddrive.

And how will you generate the names of those files?

  • Author

Well in my dream world it world a script would create the initial folder and all the subfolders.

But right now it's just manually.

It doesn't have to be a dream - see, for example:

http://fmforums.com/forum/topic/79232-using-applescript-in-fm-pro-10-on-mac-os-x-to-create-a-folder

And if you create the folder/s after creating the record in Filemaker, you can use ANY unique identifier to link between the two. You can also have Filemaker open the related folder, using either AppleScript or Open URL{} script step.

  • Author

Thanks for the link! A bit over my head, but who knows. I may give it a shot!

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.