Skip 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.

Copy address?

Featured Replies

Hi

I want to copy contents of a postal address field in one table layout "Contacts" to another table layout "Projects" address field.

As a time saver I want to be able to script a button to copy the postal address contents. If the postal address of the client happens to be the same location of the construction project, although this isn’t always the case and then the project address would be entered manually.

I have...

"Contacts" layout with Table "contacts" with say a field "postal address 1"

and....

"Projects" layout with Table "projects" with say a field "project address 1"

The Contacts & Projects tables are related by:

Contact ID to Project IDfk

And I tried this script but it doesn’t work?

Set Field [ Projects::StreetAdd; Contacts::StreetAdd ]

and so on for the other fields

I hope I explained that properly?

Thanks

Greg

Edited by Guest

Does Projects have an existing record?

If not you might consider entering define database, double clicking the relationship between your two Table Occurances and clicking allow creation of records on the Project side.

Alternatively, just write a simple script to manually do it e.g.

Set Error Capture[On]

Allow User Abort[Off]

Freeze Window

Set Variable[$ID ; Contacts::Contact ID]

Set Variable[$address ; Contacts::Postal Address 1]

..

..

..

Go To Layout[ YourProjectLayout ]

Create New Record / Request

Set Field[ Projects::Project IDfk ; $ID ]

Set Field[ Projects::Project Address 1 ; $address ]

..

..

..

Go To Layout[ Original Layout]

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.