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.

Update data

Featured Replies

Hi,

I have a problem for update my stock price.

I have a table : product with productID,ProductName,qty,Price

and Invoice table: InvoiceID,Invoicedate,Customername

and InvoiceLine:InvoiceID,ProductName,qty,price,cTotal(qty*price).

my problem is: If my porodcut price's(prodcut A=1$) change from (1$ to 2$), I want to see this change in my invoice.

sample:

2012/4/12

1 Product A 1$ 10 10$

after change price:

2012/4/12

1 Prodcut A 2$ 10 20$

what I should do?

thank you

Product prices are typically defined as lookups or auto-entered calcs in the Line Items table. You want to capture the price at the time of invoice (and not have it updated when the price changes...as you would be changing history).

If an invoice is still in the "writing" stage and not yet finalized, you could have an Update Prices button that relookups the line item prices. btw, I think that you should have a ProductID foreign key in your line items table. You should not build the relationship btw the LineItems and Products by name, but rather by ID.

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.