April 19, 200916 yr 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!!!
April 21, 200916 yr 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