At Design-Time:
1. IBConnection, fill-up the properties
IBConnection.Connected := True; - I see it is True
2. SQLTransaction.Active := True; - ( Automatic is True )
Problem:
3. SQLQuery.Active := True; - but it does not become as True (becomes back as False)
DeleteSQL := 'DELETE FROM PLAYERS WHERE PLAYER = :PLAYER';
InsertSQL := 'INSERT INTO PLAYERS VALUES
(:PLAYER,
:TEAM,
:FROM_YEAR,
:TO_YEAR,
:MATCHES,
:GOALS)';
UpdateSQL := 'UPDATE PLAYERS SET
(TEAM = :TEAM,
FROM_YEAR = :FROM_YEAR,
TO_YEAR = :TO_YEAR,
MATCHES = :MATCHES,
GOALS = :GOALS)
WHERE PLAYER = :PLAYER';
I don't understand the reason for that behavior.
Can anybody help me about this problem ?
Thank you !