The -Duplicate command tag allows a record to be duplicated within a FileMaker Pro database.
The database and table for the duplicate action should be specified using the -Database and -Table command tags. The specific record to be duplicated should be specified using the -KeyField and -KeyValue tags to identify the primary key field and specific key value.
[Inline: -Duplicate,
-Database='Database_Name',
-Table='Table_Name',
-KeyField='KeyField_Name',
-KeyValue='KeyField_Value', ...]
<a href="default.lasso?-Duplicate&
-Database=Database_Name&
-Table=Table_Name&
-KeyField=KeyField_Name&
-KeyValue=KeyField_Value...">Link</a>
<form action="default.lasso" method="POST">
<input type="hidden" name="-Duplicate" value="">
<input type="hidden" name="-Database" value="Database_Name">
<input type="hidden" name="-Table" value="Table_Name">
<input type="hidden" name="-KeyField" value="KeyField_Name">
<input type="hidden" name="-KeyValue" value="KeyValue_Name">
...
<input type="submit" name="-Duplicate" value="Duplicate Record">
</form>
Use an [Inline] tag with the -Duplicate command tag. The following example duplicates a record with the record ID value of 123 within the Contacts.fp3 database. Note that -KeyField is not specified since the records is being duplicate within a FileMaker Pro database.
[Inline: -Duplicate,
-Database='Contacts.fp3',
-Table='People',
-KeyValue=123]
[/Inline]
Tag Link | -Duplicate | Category | Action |
---|---|---|---|
Type | Command | Data Source | FMP |
Support | Preferred | Version | 2.5 |
Output Type | None | Security | Database,Classic |
Implementation | Internal | Sets | Lasso 6.0, Lasso 5.0,LDML3x,LDML25 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft