Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3697 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am using the new barcode scan feature available in FM GO 13 and I can't seem to get it to work. My script step is:

 

Insert from Device [Equipment Log::zBarcode; Type: Bar Code; Camera: Back; Resolution: Full]

 

I have all the barcode types enabled and the barcode that I am testing with is Code39. The error that I get is "Specified field has inappropriate filed type".

 

Equipment Log::zBarcode is a Text field. I tried changing it to a Container field to see if that would make a difference, but no luck. Does anyone have any ideas?

 

Thanks,

Ryan

Posted

I have seen this error before, but I never got to the bottom of it. Scanning into a text field can work fine, and is usually what I recommend. I don't remember exactly what the fix was, but it could have involved making another field set-up the same way and deleting the original field that wasn't working, or running the script on a different layout, or some such. Are you willing and able to post the file here for the rest of us to try things on?

  • 3 weeks later...
Posted

It would be good to discover the underlying reason.

I did see that insert into a portal row gave the error too.

  • 4 weeks later...
  • 2 weeks later...
  • Newbies
Posted

I may have figured out a work around.

 

Instead of storing the scanned bar code in a global field, I create a table with only one text field and one record to store the bar code. In that way, filemaker do not complain. 

 

However, when I turn error capture on, I still get error 413 "Specified field has inappropriate field type". For some unknown reason, a normal field works but a field that has global storage don't.

 

Update: Please read the following two posts.

  • Newbies
Posted

It turns out the the work around is not reliable. After I've created one more table in my database, the scanning of barcode failed again, with the same error.

 

Update: the reason why creating a new table works is that, FileMaker automatically create a layout with the field defined. Since the layout is not needed, I delete the layout. As a result, the "work around" fail. 

 

The actual solution is to define the field that going to hold the barcode on the layout concerned. 

  • Newbies
Posted

I've nailed down the cause. For Input From Device to work properly, the target field should appear on the layout. Adding the field on the layout, the error code will be 0. I have not tried for global storage, but at least it works for a non-global field.

  • Like 1
  • 2 weeks later...
Posted

Just a followup from me as well: your solution of having the field on my layout (although in my case hidden) worked. Thanks!

This topic is 3697 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.