I put a container in the page of FMP and by iPad the barcode type is declared to save the barcode of device.
Why is the barcode picture is not obvious?and how to use this barcode for special device that by that barcode the device would be known
Not sure if I understand your question but assuming you're scanning a barcode using an iPad and not getting any results by storing the result in a container it's because the result of a barcode scan is either text or number. That's sort of the entire point of the barcode so that you can use the result of the scan to reference or log something.
Put the result of the scan into a text field.
I take a picture of that barcode and store it in a container datatype.How can it be stored in a text field?
use the scriptstep 'insert from device' (Type: Barcode). To get the text, see the Example 2
edit: From the FileMaker help (insert from device):
Inserts an image of a bar code taken by the iOS device’s back camera at Small resolution into the container field named UPC. To retrieve the text value of the bar code, use GetAsText(UPC).
Insert from Device [Products::UPC; Type: Barcode; Camera: Back; Resolution: Small]
I have created the script for the text field but there was no difference. It was like the container for image. if it will be text field how would it get the barcode?
And how to recognize the barcode?
Could you please explain the whole picture of what it is you are wanting to achieve.
I use a lot of barcodes in my work and never store an image of the scanned code in my system.
For the most part a barcode scan is used to identify and find either a product or an order. This would typically be done by using an iOS device with the Insert from Device script step.
Let's say I need to find an order based on scanning a bar code. First you'd enter find mode, then insert the barcode results from a scan into the appropriate field. So let's say the barcode contains an order id (which is either a number or text field), you'd choose your order id field as target. On insert from you'd select the Bar Code and not Camera.
Once the scan is done you'd apply the Perform Find script step.
when I take photo by iPad to insert in a container as a barcode it will be some thing like this:
A picture is not the same as scanning the barcode.
There would not be any TEXT of the picture of the bar code and object upon which it sits. Scanning reads the pattern of the various types of codes and extracts the text (numbers and other characters).
Sent from miPhone
what are you intending to do with the barcode?
do you want to generate a barcode or do you want to extract the contents of the barcode?
What you mean by scanning?The tools can not be scanned and I take a picture by the iPad which has the FMGo
Scanning a barcode is simply using the Insert from Device script step to take a picture of a bar code with the insert from option set to bar code and not camera. This will yield the contents of the barcode and not an image of the barcode.
If you tell us what you're trying to do we might be able help.
This is the help for FMGo 16, but the same works back a few versions. Start here and follow the links:
"Scan Bar Codes"
Scan a bar code into a container field
Scan a bar code into a text field
Tips for scanning bar codes
Retrieving data ...