[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [CRASH REPORT] tab_amort
[Thread Prev] | [Thread Next]
- Subject: Re: [CRASH REPORT] tab_amort
- From: Alexandre Six <six.alexandre@xxxxxxxxx>
- Date: Tue, 3 Feb 2026 23:11:43 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Hi, Thanks for your reply. I figured out my problem: I made two silly mistakes because of my lack of knowledge in gambas . First I wrote the fast keyword before the function, so the debugger couldn't help me correctly, and probably caused the crash of the IDE Second, I 'm still not very familiar with gambas syntax so i wrote : TableView1.Rows.Count($nbAnnee * 12) instead of : TableView1.Rows.Count = $nbAnnee * 12 Now the program works as intended, I can continue my project. Thanks again :) Le mar. 3 févr. 2026 à 23:09, Gianluigi <gradobag@xxxxxxxxxxx> a écrit : > Il 03/02/26 22:32, Alexandre Six ha scritto: > > I try to populate a tableview with data => > > Hi, > something like that, I don't understand much about math: > > Public Sub Form_Open() > > Dim taux_sur_12 As Float = 4 / 12 / 100 > Dim mensualite As Float > > TableView1.Rows.Count = (30 * 12) > TableView1.Columns.Count = 1 > TableView1.Header = GridView.Both > TableView1.Columns[0].Title = "TRANCHE" > mensualite = 100000 * (taux_sur_12 / (1 - (1 + taux_sur_12) ^ (-12 * > 30))) > Print mensualite > Print "Interets = " & CStr(100000 * taux_sur_12) > 'TableView1.Rows.Count(30 * 12) > Dim i As Integer = 0 > While i < 30 * 12 > > Print i > TableView1[i, 0].Text = mensualite > i += 1 > Wend > > End > > Regards > Gianluigi > > >
| Re: [CRASH REPORT] tab_amort | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| [CRASH REPORT] tab_amort | Alexandre Six <six.alexandre@xxxxxxxxx> |
| Re: [CRASH REPORT] tab_amort | Gianluigi <gradobag@xxxxxxxxxxx> |