Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5695 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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!!!

Posted

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.

This topic is 5695 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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