incorrect number save's a trial  billing system .. when an item is sold, it does not add the correct amount to database..need to fix it so, the sold items would be cut from the total stock amount,as it would be added to the sold items number..PLZ find enclosed a zip file contains the code..
Has SheozhevAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
You need to fix your data model. There are no relationships, check and default constraints are also missing. And then you need a transaction table. Then you can calculate your stock amount.

p.s. you don't store passwords. Store a salted hash of it instead.
Fabrice LambertConsultingCommented:
I'll also suggest to convert your database to accdb instead of mdb.
You'll be able to take adventage of data macros (AKA triggers) wich will help with data integrity.
Has SheozhevAuthor Commented:
Thanks for your suggestions..I'm expecting some code though..

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

ste5anSenior DeveloperCommented:
Well, we're not paid for answering posts and advice.

And your project contains fundamental errors, which must be corrected first. Face it.

And last, but not least:  
it's a trial  billing system[..]
What do you expect in such a case?
Has SheozhevAuthor Commented:
Mr ste5an..
I did not mean "you"..I've got in touch with Mr Roy Cox and Kyle Abrahms for paid consultants,but had an apology from Mr Cox and no reply from Mr Abrahams..
so it's NOT "you" who is meant by "paid"

Secondly,the code does NOT contain  "fundamental errors" as you said..I've solved the problem already and the whole code works perfectly well..If you wish i may send you a copy of this "fundamental errors" programme..
THirdly, I called it "trial" cause it was an initial step..
Finaly, In a respectful , or supposed to be a respectful site,communication should be different from the way "YOU" are writing..

So..i am sorry if you miscalculated my words and I congratulate this site for having "Senior Developer" as you are..
Fabrice LambertConsultingCommented:
Fundamental errors are within the database itself.

No Relationship between tables.
No foreign keys.
No data integrity constraints.
No trigger.

Beside the 4th item (triggers), all other are basic database stuffs.
As it stand, your "database" is just an evoluted text file, easy to mess-up and corrupt.

As for passwords, they're stored in clear text. Only the display is replaced by the "*" character, as long as you open the table or query datas within MS-access. Ehence why it is nowhere near secure.
Has SheozhevAuthor Commented:
Thanks Fabrice Lambert...
Has SheozhevAuthor Commented:
I've asked to close the question,but I still receive comments..
I need NO more comment or HELP
Has SheozhevAuthor Commented:
All I got were two simple,NON professional answers..though,I've contacted a paid consultants...!!! still, no reply...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.