HackMD
  • Prime
    Prime  Full-text search on all paid plans
    Search anywhere and reach everything in a Workspace with Prime plan.
    Got it
      • Create new note
      • Create a note from template
    • Prime  Full-text search on all paid plans
      Prime  Full-text search on all paid plans
      Search anywhere and reach everything in a Workspace with Prime plan.
      Got it
      • Options
      • Versions and GitHub Sync
      • Transfer ownership
      • Delete this note
      • Template
      • Save as template
      • Insert from template
      • Export
      • Dropbox
      • Google Drive
      • Gist
      • Import
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
      • Download
      • Markdown
      • HTML
      • Raw HTML
      • Sharing Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • More (Comment, Invitee)
      • Publishing
        Everyone on the web can find and read all notes of this public team.
        After the note is published, everyone on the web can find and read this note.
        See all published notes on profile page.
      • Commenting Enable
        Disabled Forbidden Owners Signed-in users Everyone
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Invitee
      • No invitee
    Menu Sharing Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Versions and GitHub Sync Transfer ownership Delete this note
    Export
    Dropbox Google Drive Gist
    Import
    Dropbox Google Drive Gist Clipboard
    Download
    Markdown HTML Raw HTML
    Back
    Sharing
    Sharing Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Note Permission
    Read
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Write
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    More (Comment, Invitee)
    Publishing
    Everyone on the web can find and read all notes of this public team.
    After the note is published, everyone on the web can find and read this note.
    See all published notes on profile page.
    More (Comment, Invitee)
    Commenting Enable
    Disabled Forbidden Owners Signed-in users Everyone
    Permission
    Owners
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Invitee
    No invitee
       owned this note    owned this note      
    Published Linked with GitHub
    Like BookmarkBookmarked
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # 將 BarCode Combo 複製到自己的 FileMaker 資料庫 [BarCode Combo](https://goo.gl/fSXHSn) 是一個 FileMaker 檔案,它結合了 BarCode 掃描器 / 產生器,產生的條碼格式為 Code 39,本文中產生 Code 39 條碼的相關程式碼來源為[飞沫课](https://goo.gl/jGfGBR)網站(有需要原始檔的朋友可以至網站下載),本文主要介紹如何將這個檔案複製到自己的 FileMaker 檔案中,以供後續利用。 複製一個檔案最好能按照以下順序,因為 Field 有可能用到 Custom Function,如果沒有按照順序複製檔案的話,有很大的機會出現錯誤訊息。 1. Custom Function 2. Value list 3. Table 4. Field 5. Layout (有需要的話) ## 步驟一:下載檔案 先下載 Barcode Combo 檔案,[下載網址](https://goo.gl/fSXHSn) ![](https://i.imgur.com/fCdc4Wt.png) 開啟檔案,可以看到 Index Layout 頁面 ![](https://i.imgur.com/vJwOL9Z.png) ## 步驟二:開啟要被嵌入的 FileMaker 檔案 打開自己準備好要嵌入 Barcode Combo 的 FileMaker 檔案。 這邊用一個空白的檔案做示範:產品.fmp12 ![](https://i.imgur.com/nGYvol7.png) ## 步驟三:複製 Barcode Combo 檔案內的 Custom Function 回到 Barcode Combo 檔案,第一個要複製的部分是 Custom Function File > Manage > Custom Functions... 依照路徑打開 Custom Function 頁面 ![](https://i.imgur.com/A4aa75b.png) 將其中兩個 Custom Function 複製(Mac:Command+C ; Windows: Control+C) ![](https://i.imgur.com/L5Xtu8x.png) 接著到自己的檔案:產品.fmp12 打開 Custom Function 頁面,這時候裡面是空白的 ![](https://i.imgur.com/GeATbaj.png) 貼上 Custom Function(Mac:Command+V ; Windows: Control+V) ![](https://i.imgur.com/kuxMmBH.png) 到這邊 Custom Function 複製完成,接著複製 Value List ## 步驟三:複製 Barcode Combo 檔案內的 Value List 回到 Barcode Combo 檔案,第二個要複製的部分是 Custom Function File > Manage > Value Lists... 依照路徑打開 Value List 頁面 ![](https://i.imgur.com/QD8Q8jB.png) 裡面僅有一個 Value List: 对齐方式 Command+C 複製 ![](https://i.imgur.com/kwQpJgQ.png) 開啟自己的產品檔案 Value List 頁面 ![](https://i.imgur.com/XwjHkHz.png) Command+V 貼上「对齐方式」Value List ![](https://i.imgur.com/ilIza0P.png) ## 步驟四:複製 Barcode Combo 檔案內的 Table / Filed 回到 BarCode Combo 檔案,這一步驟主要複製 Table 以及其中的 Field 欄位。 如果只是要取用 Field 欄位的話,那可以只複製需要的 Field 欄位即可,不必複製整個 Table 這次示範,複製整個 Index Table 比較方便 File > Manage > Database... 進入 Database 頁面,點選 Index Table ![](https://i.imgur.com/vys3LSz.png) Command+C 複製 Index 這個 Table ![](https://i.imgur.com/5VUj8bx.png) 選擇自己的產品檔案,進入 Database 的 Tables 頁面 Command+V 貼上 Index Table ![](https://i.imgur.com/CnrsHqg.png) ## 步驟五:複製 Barcode Combo 檔案內的 Layout 回到 BarCode Combo 檔案,這一步驟主要複製 Layout 上面的物件,主要是文字標籤、Field 以及 Conditional Formating 設定 Command+L 進入 Layout Mode ![](https://i.imgur.com/izf8Dh6.png) 利用滑鼠選取所有 Layout 上的物件 Command+C 複製所有物件 ![](https://i.imgur.com/Jkmn3Iw.png) 選擇自己的產品檔案,進入 Index 的 Layout 模式 貼上物件 ![](https://i.imgur.com/k5TJKM2.png) Command+B 返回 Browse Mode 瀏覽模式 ![](https://i.imgur.com/KFsYTd0.png) 這時候還沒有任何資料在其中,記得先新增一個 Record 記錄 ![](https://i.imgur.com/W60ltQ1.png) 大部分的「複製」準備工作已完成,接下來要測試一下 ## 測試看看 「条型码输入」欄位右邊的三個小英文字:"l,m,r" 分別表示要讓條碼顯示靠左,置中,靠右,測試前記得要先點選一個,我們先點選 "m" 置中即可。 ![](https://i.imgur.com/jbnpcfk.png) 接著在「条型码输入」欄位輸入文字:FileMaker Taipei,即可得到相對應的條碼。 測試成功 ![](https://i.imgur.com/aPjdg8r.png)

    Import from clipboard

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lost their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template is not available.


    Upgrade

    All
    • All
    • Team
    No template found.

    Create custom template


    Upgrade

    Delete template

    Do you really want to delete this template?

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in via Google

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Tutorials

    Book Mode Tutorial

    Slide Mode Tutorial

    YAML Metadata

    Contacts

    Facebook

    Twitter

    Feedback

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions

    Versions and GitHub Sync

    Sign in to link this note to GitHub Learn more
    This note is not linked with GitHub Learn more
     
    Add badge Pull Push GitHub Link Settings
    Upgrade now

    Version named by    

    More Less
    • Edit
    • Delete

    Note content is identical to the latest version.
    Compare with
      Choose a version
      No search result
      Version not found

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub

        Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more

         Sign in to GitHub

        HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Available push count

        Upgrade

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Upgrade

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully