Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.

Public Report
Report From: Delphi for PHP/Database/DBExpress    [ Add a report in this area ]  
Report #:  94794   Status: Reported
Table object needs Find/Seek method
Project:  HTML5 Builder Build #:  3.0.0.1319
Version:    3.0 Submitted By:   John Schmidt
Report Type:  New Feature Request Date Reported:  6/6/2011 5:11:58 AM
Severity:    Commonly encountered problem Last Updated:
Platform:    All versions Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
There is no possibility to fetch a record to edit it. Using Filter results in an update of all records with the same data.
Steps to Reproduce:
1. Create form with a DB, table, datasource, a dbgrid, all linked properly.
2. Add some edit fields not DB-linked. Update them when selecting a row in the grid.
3. Add a Save and a Delete button.
4. Activate ajaxcall and call the save method by SaveBtn->OnJSClick.
5. In the save method use table->filter to fetch the record (unique!) as a find or findkey doesn't exist.
6. Add some records by NaviCat or sql.
7. Edit and save the record.
8. Now all records contain the same data.
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01