Posting Data

After inserting a set of data's I want to see the last record. For that in the after post I wrote OracleDataset.Last. This is not working. Is there any other way.

[This message has been edited by rinoshjoseph (edited 24 September 2002).]
 
Originally posted by mkalter:
Calling Last shoulddo the trick. What goes wrong?


Calling last will give only the last value that was saved earlier. For eg. if I add one value and in the after post I call Last it will not give the added one. ?????
 
If QueryAllRecords = False, then it may be that the query was not yet finished when you inserted a new record. If you subsequently call Last, the query will first be finished and the Last record will not be the new one.

------------------
Marco Kalter
Allround Automations
 
Back
Top