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.

Read static value from ini, xml or registry

Featured Replies

  • Newbies

First let me say I'm primarily a .Net developer but I've inherited this FM project.

I need to read some static values from either an ini, xml, registry wherever (not particular on where it lives). Basically what this is for is to statically assign a value(s) to a Point of Sale register. For example the obvious would be the register number. Once assigned this doesn't change and is pretty standard mo for most POS applications.

Any ideas on this would be appreciated. The only thing I think that would work would be an opener file with each storing and passing the static value from there. Problem with that is managing it for installs as you'd have to handle all these opener files for each register etc.

thanks in advance guys!!!

  • Author
  • Newbies

Bump...

Any takers?

Basically, I guess we're thinking, "Why not store them in a table in the database?" It is common practice to have a 1-record table (best to restrict it to this in Accounts & Privileges), where you store values. There are various ways to do this so that they are available to some or all tables. It depends on what you want to use them for, whether you want to connect to the table to set/retrieve them (usually with a Cartesian relationship, via the X operator), and who can change them, and how often. Though an xml file is also not such a bad idea; just not really necessary, unless there are special circumstances.

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.