Hello,
I try to make an application that will manage a gym.
There is a search form for searching the customers [table Customers] and display their info and the programs that they bought. I have made it till this part.
I also made an other form that I want to select the gym plan that they want to buy and add it as a new record in their info [table Program].
There are 3 option button sets and a start date picker. One to select the Type [Personal, Semi Personal], the duration [1 month (4 weeks), 3 months (12 weeks), 1 year (52 weeks)] and times per week [2/week, 3/week, unlimited (7/week for the calculations)].
When I select the option buttons and I press a button I want to add a new entry to the table [Program] with those info and make calculations of end date, total visits and cost.
For example I will choose Personal, 1 months, 2/week and 15 Oct 2018. The data I would like to add except the input is: End date: 15 Nov 2018, Remaining visits: 8 (4 weeks * 2/week), and total to pay: 50$.
Is it possible to do something like this? I know some basic stuff on SQL and my Base knowledge is based on the videos of the frugal computer guy. I have never used macros also (I do not know if this matters)