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.

Invoices problem with query

Featured Replies

  • Newbies

Hi all,

I am trying to work with Invoices and the programs looks fine the only thing i want to change is that in the Menu -> Invoices -> Product Id. I want to add a button in the left of Products Id called "Find" and when i will insert an Id for example 3 and press the botton, i want to appear a drop-down menu to the current Line Item and show me a list of Id, Name of producst that have similar name as the name of the product that i entered. I came with an algorithm in my mind but i have never worked with FileMaker scripting and i dont know how to implement this

 onButtonClick {

		  myId = take from the current selected line item the Product ID;

		  myName = find the Product Name that corresponds in this ID;

		  execute the query (SELECT Id, Name FROM Products WHERE Name LIKE '%myName%' AND Id!=myId;)

		  create a drop-down list in the current line item;

		  put the result of the query.

}

Ι would really appreciate it if someone could and would like to help me, Thanks in advance.

It sounds like maybe you're wanting a conditional value list:

http://help.filemaker.com/app/answers/detail/a_id/5833

  • Author
  • Newbies

Fitch , i really really really really thank you for your quick and very big help.

Create an account or sign in to comment

Similar Content

Important Information

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

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.