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.

Featured Replies

Good day gurus,

As usual seeking some valuable advice. I am currently importing a price list, the source is a tab delimited files, I am doing a one-to-one import and all works perfected.

Now the boss is requesting to be able to compare the last imported price with the previous import.

What I was thinking was to create an additional table (e.g. import one, import two,) and adding a import date field in order to identify when the import was done. Then create a script to empty the second table, move the records from table one to table two and then importing the new data in table one.

Can someone give me some ideas as I feel i am trying to reinvent the wheel 

Thanks

Rudy

If they for sure want only the previous import, you could just get by with a single additional field for that, and do a Replace with the current price before you import.

Otherwise, I'd consider just importing the price into its own related table as new records each time. That way each item could keep a complete price history, and you could make a chart of it and your boss would be so impressed.

Make sure as you import each record gets a time stamp, or at least a date stamp.  You could easily search/report price history broken down by date in a sub-summary report.

7 hours ago, Fitch said:

If they for sure want only the previous import, you could just get by with a single additional field for that, and do a Replace with the current price before you import.

Otherwise, I'd consider just importing the price into its own related table as new records each time. That way each item could keep a complete price history, and you could make a chart of it and your boss would be so impressed.

The second idea let you keep many imports because after get the 2 last imports, your boss will ask you for the 3 last ;)

you set and id import unique for each import then a link between the same table with sort by date desc and id ≠ id second table (don't know if it's clear)

For example, first import 20 records with id = 1, second import 20 records with id = 2 etc

Tom

Create an account or sign in to comment

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.