Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

creating find script

Featured Replies

dear fmforum users,

if you could help me, i would be very grateful.

i am trying to add a find script to my database.

i have a database on my pc with products.

i printed labels with barcodes.

i installed filemaker go on my iphone and copied my database to it.

i used this script to add a SCAN button and launch a script which starts PIC2SHOP app, scans my barcode and returns it to filemaker GO. http://www.skeletonkey.com/blog/filemaker_go_barcode_scanning_with_pic2shop

everything works except the last part. the scanned value has to be put in a search script and i cant find how to do this.

i want to be able to scan my product and automatically find it in my database.

my first script looks like this:

"pic2shop://scan?callback=fmp7script%3A//%24/" & Get ( FileName ) & "%3Fscript%3DScan%26param%3DEAN"

and the second one is called SCAN and looks like this:

(file in the attachment).

rrpost-106152-0-56166200-1329816172_thumb.

I haven't used this, but it seems to me that the possible problems are:

1. You are finding in the Products table for a barcode, but you are not in a barcode field, you're in the ProductID field. ProductIDs should not be barcodes. They should be auto-enter serial numbers that are meaningless.

2. Perhaps you're not even in the Products table ( a context problem). Add a Go To Layout (Products) before your Find.

hth,

Barbara

I haven't used this, but it seems to me that the possible problems are:

1. You are finding in the Products table for a barcode, but you are not in a barcode field, you're in the ProductID field. ProductIDs should not be barcodes. They should be auto-enter serial numbers that are meaningless.

2. Perhaps you're not even in the Products table ( a context problem). Add a Go To Layout (Products) before your Find.

hth,

Barbara

funny thing is Barbara. Context is very difficult when your RG becomes crazy!! Dont ya think?

That's why I'm a big fan of Anchor-Buoy (although that'll start a debate). Any method that allows you to easily determine your context is absolutely essential.

  • 2 weeks later...
  • Author

I haven't used this, but it seems to me that the possible problems are:

1. You are finding in the Products table for a barcode, but you are not in a barcode field, you're in the ProductID field. ProductIDs should not be barcodes. They should be auto-enter serial numbers that are meaningless.

2. Perhaps you're not even in the Products table ( a context problem). Add a Go To Layout (Products) before your Find.

hth,

Barbara

thanks.

1. i will try to add a auto enter serial number field. but i dont know how to do this.

2. i will add a go to layout..

rr

1. Auto enter serials are available as an entry option in Define Fields.

FM Help

  • Author

i managed to modify the script, so it scans my barcode and then returns the value into filemaker.

the problem is that the scanned value is not entered in my search field, but instead just the text Get(ScriptParameter).

post-106152-0-74637900-1330611021_thumb.

this is how it looks on my phone:

post-106152-0-86923900-1330611409_thumb.

can anyone help?

Raitis,

Do you have a Barcode field?

I would think that your Scan script should look like this (let's assume that it's a barcode value in your Get (scriptparameter):

Go to layout ( equipment)

Enter Find Mode

Set Field ( barcode ; Get (scriptparameter) )

Perform Find

  • Author

Raitis,

Do you have a Barcode field?

I would think that your Scan script should look like this (let's assume that it's a barcode value in your Get (scriptparameter):

Go to layout ( equipment)

Enter Find Mode

Set Field ( barcode ; Get (scriptparameter) )

Perform Find

thank you very much!!!!

it works!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.