I am using ASPMaker. It's a Classic ASP code generator. I am using MySQL database as well:
I am trying to get values from one table to another here's the code used to get the value from table1:
Dim Balance
Balance = ew_ExecuteScalar("SELECT Balance FROM [Balance] " )
ListOptions.GetItem("Balance").Body = Balance
The problem is that I am getting only the last value for all records in the table. For example if the last [Balance] = 700, all the records in the table have [Balance] = 700.
Any idea?