Here is the version with database sqlite underneath.

What is there?

1. DB.
  1.1. MFootball.db. It is the sqlite database.
  1.2. MFootball.sql. This is the script to create the tables and its data.
  1.3. sqlite3.dll. Sqlite's dll, necessary to be able to access the bbdd.

2. Fasm.
  2.1. GFootball.asm. The first attempt using sqlite_exec. I have checked that, in fact, bring all the records, but only offer pointers to the head and to the first record. I need time to see what it happens. Does anybody want to take a look at it?.
  2.2. GFootball.exe. The compiled one belonging to the previous one.
  2.3. GFootball2.asm. This code is the correct. However, I have had some problems to check if a chkbox is selected. I have finally made it otherwise, but I would like to see what it happened with that. I'd like making also the version MASM and NASM and upload them at the same time to my own site, when I have time. Because of all of this, for the moment, I do not deliver it, but I will make it. Anyone interested?.
  2.3. GFootball2.exe. That's what works correctly.

3. Ico.
  3.1. Balon2.ico. It is the icon used in the program.


First look to the program
  In the friends frame you can select which you want. Each one of them has their preferences and quantities of consumption kept in the data base, from where they are extracted. Hence, no longer can be selected what is going to be consumed; But that when a friend is selected, this plucks up automatic way, attending to the values stored in the data base.

  In the stuff zone we have a first box for the number of units to consume of every product, a second of the unit price and a third box of the article amount, that will be totalized in the Total amount box.


How does the program work?
  When it gets loaded, put the friends into the lstbox and the prices in the boxes of prices, readed from the data base. Every time that it is selected or unselected a friend, it is reflected its consumptions in the stuff zone and its amount is calculated too. Goods cannot be selected because they are calculated automatically, accordingly the values in the data base.


Abreojosensamblador.net
