Skip 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.

Trouble Making Relationship

Featured Replies

  • Newbies

Im working on a stock inventory database. Basically, with three (3) tables namely:

1. Stock

2. Stockline

3. Requisition

Im having some problems in connecting the relationships for the 3 tables. I was hoping that in stockline I can pull-out some datas from stock in organizing my inventory. For requisition, I want some data to be pulled out from stockline and stock using drop-down list.

If someone can guide me on how to achieve this. I have provided my file open for your scrunity.

Inventory.zip

Since the level is an unstored value based on what is pulled via the transaction lines, can't it be part of a drop down list since it has to be indexed values to make it display correctly.

This can be done by having the present stocklevel stored in each transaction ... somewhere along the line of this:

http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000333

But on the other hand could related stored values be shown in dynamic value lists, via what we call Ugo's method ... by combining these two approaches should you be able to get what you're after.

But you need to be cautioned here, looking up the last record won't allow you to delete arbitrary transactions. They would need counter transaction to get nulled.

If this can be accepted are popups/dropdowns not a way your stocklevels can be shown ahead of the selection, so a cartesian portal might be more up to the task?

--sd

I was hoping that in stockline I can pull-out some datas from stock in organizing my inventory. For requisition, I want some data to be pulled out from stockline and stock using drop-down list.

"some data" is a somewhat vague request. In general, I don't see why you couldn't either place related fields on the layout or perform a lookup, as appropriate.

Looking at your Stock table, it's not clear to me which field is an item name/description and which fields are categories to which the item belongs. I think that your value list needs to be defined to show the item's unique ID and name/description.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.