FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Suggestion for xBrowse + TDolphin
Posts: 581
Joined: Tue Oct 11, 2005 11:28 AM
Suggestion for xBrowse + TDolphin
Posted: Wed Jan 29, 2014 11:39 PM

Hi All,

After many tries to edit/insert records inside the browse using tdolphin, I had to abandon (for a while) my try to migrate my app to use MySQL. The fact is that it's not possible to add a record into a query inside xbrowse and I would like to take this suggestion to Rao or Daniel Garcia, to implement this in order to allow to add/edit records using xbrowse directly. The way some guys showed me was to use an array but I really don't want to use this, just because with this I am creating a longer way to insert/edit/delete records.

Thanks to all who helped me in this journey.

Kleyber Derick



FWH / xHb / xDevStudio / SQLLIB
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Suggestion for xBrowse + TDolphin
Posted: Mon Feb 03, 2014 02:35 PM

If you mean editing cell data inline inside xbrowse, we can do it with TDolphin also without any extra coding. This works the same way as with arrays, dbfs, recordsets, etc.

If you like to show a blank row for appending a row, it is easy with arrays and recordsets ( using AddNew() method when opened in batchoptimistic locking mode ). Can also do with dbfs with a little extra coding, with the side effect of the possibility of leaving physical blank records with deleted flag for cancelled appends.

I am not very conversant with TDolphin and I do not know the equivalent of ADO AddNew() method in TDolphin, if implemented. Mr Daniel can throw light on this.

Regards



G. N. Rao.

Hyderabad, India
Posts: 581
Joined: Tue Oct 11, 2005 11:28 AM
Re: Suggestion for xBrowse + TDolphin
Posted: Mon Feb 03, 2014 10:44 PM

Rao,

Thank you for your answer. Maybe it's a light at the end of the tunnel. Let's wait for Daniel's opinion.

Kleyber Derick



FWH / xHb / xDevStudio / SQLLIB

Continue the discussion