Subject | State, request live and editing |
---|---|
Author | bullardjuk |
Post date | 2003-11-28T15:20:02Z |
I am confused as usual !
To set up an tib_query for my user to enter data. I say
'select * from addresses where addressnum = :addnum'
Then qryAddresses.open;
Then if there is no parameter suplied it opens a blank record.
{if he wants to select a record to edit the addressnum parameter is
set-up and it opens the selected record}
The state is shown as dssBrowse and requestlive is false
But any data he enters into this blank record/buffer is nevertheless
stored when the query is closed. (the default transaction is set)
Am I doing things wrongly?
Where does qryAddresses.search come into this?
Where does qryAddresses.edit come into this ?
Is the state changed automatically without using these methods?
Any clarification welcomed.
To set up an tib_query for my user to enter data. I say
'select * from addresses where addressnum = :addnum'
Then qryAddresses.open;
Then if there is no parameter suplied it opens a blank record.
{if he wants to select a record to edit the addressnum parameter is
set-up and it opens the selected record}
The state is shown as dssBrowse and requestlive is false
But any data he enters into this blank record/buffer is nevertheless
stored when the query is closed. (the default transaction is set)
Am I doing things wrongly?
Where does qryAddresses.search come into this?
Where does qryAddresses.edit come into this ?
Is the state changed automatically without using these methods?
Any clarification welcomed.