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.

Create new record, copy data from table

Featured Replies

Situation: I'm trying to make a series of price summary "templates" in one table and it it to: create a new record, apply a serial number, and copy the desired data to a new record. From this record, a price summary will be made for a prospective customer.

I'm trying to make a script using the Create Record function but cannot get it to make the new record in the other table.

The template table holds non-modifiable fields. The data table holds the modifiable fields (to change Client name, tax, shipping costs, etc).

The field names in the Template table are the same as the field names in the Data table with the exception of _data being added to the Data Table fields

http://img68898.pictiger.com/images/16286565/

Sorry for my handwriting... I was in a rush.

Also, keep in mind I'm a newb. Thanks for the help

IMHO is directly wrong to copy data anywhere, and especially if the task is to produce a summary report, this is unfortunately an attempt to remedy an inadequate relational structure. The Item lines should reside in a different table, as records ... not as data found neither in a splay across individual fields nor repeating fields.

The correct way is to do it this way:

http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000717

You can of course be excused for making this ...blunder, because you might even have used one of the default template showing up when opening the tool.

These things occur ever so often because Filemaker Inc's strategy is to make a tool that takes over when you outgrow spreadsheets ...where macros often are found in severe ushering task, however does this violate relational theory - which filemaker also are made to abide to, to some extend at least.

--sd

  • Author

I think you're right and yes, it does make much more sense than what I had planned in my head.

Thankyou very much. I appreciate your time and help.

Chris

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.