Topic: If else if else Not Working
begin
if Form1.Edit1.value < Form1.Edit3.value then
begin
Form1.ComboBox1.ItemIndex := 1; //Unpaid
end else
begin
Form1.ComboBox1.ItemIndex := 2; //Paid
end;
end;
My Visual Database → General → If else if else Not Working
begin
if Form1.Edit1.value < Form1.Edit3.value then
begin
Form1.ComboBox1.ItemIndex := 1; //Unpaid
end else
begin
Form1.ComboBox1.ItemIndex := 2; //Paid
end;
end;
Hi,
Your syntax is correct.
Have you created an 'onchange' event for form1.edit1? (please see the screenshot in the attachment).
Regards,
Derek.
i have two tables
parent with named students
and another child of parent is its books
so i want to display as the label as last book added in child table
hello sir please see my attachment and add SQL query on paid/unpaid status calculate total fees by adding installments fees if any remaining fees then auto change status unpaid and if total fees paid in 3 installments and if in future delete one installment then auto minus added delete installment and change status unpaid
My Visual Database → General → If else if else Not Working
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi