Complete Barcode Scanning & Generation in FileMaker
There's nothing more fraught with errors than allowing a human to enter a long string of digits. Some people are detail oriented and others less so. Who cares if you transpose the seven and zero right? Well, we developers care, that's who. We need things to be user-friendly, fast and exact. That's what you get with barcodes.
Try imagining our modern world without them. It just wouldn't be the same. So, why aren't you using them whenever and wherever you can within FileMaker. Put a barcode on everything. Add them to your documents and scan them to load a specific record. Put them on your assets, add them to your employee badges, go crazy.
While FileMaker offers the very convenient Insert from Device script step for scanning barcodes within FileMaker Go, there's no native implementation for creating barcodes. Over the years, many developers have solved the issue of barcodes in many different ways. You can find plug-ins, simple fonts, FileMaker add-ons (which can be frustrating to modify) and straight-up Custom Functions which will create a barcode. By far, the most straight-forward implementation is going to be the easiest to manage and maintain and, in my opinion, that's using a simple JavaScript library which will create the most optimized format possible - an SVG. That's what this video addresses. The cleanest implementation I can think of. It's both portable and minimalistic. Need to create barcodes? You'll learn all the details in this video.
Comments
Simpler than expected!
I have to replace an old barcode trick (calc field). After some research I invested an hour whatching you and looking at the demo file. It came down to importing a few custom functions, copy a web viewer, set a sourcefield and barcodetype. Thats it. No fonts, no scripts, no plugin, no webservice. It just works -great stuff!
External Barcode scanner
Hi
With my iPhone I can easily scan the EAN-13 codes and insert them into the Barcodes.fmp12 file.
But now I must write the codes into my database using my MacBook Pro (OS 12.6.1) and a Delock 90562 barcode scanner. The barcode scanner is connected to the Mac via Bluetooth.
What do I have to adjust in the script so that the scanner is seen by the FileMaker DB and the code is inserted into the corresponding field?
Many thanks for your help
Kind regards
Dany