[Gambas-user] How to click Databowser-Buttons by code ?

ub2 at ...36... ub2 at ...36...
Mon Dec 29 10:57:53 CET 2014


Dear Gambas Cracks


Sorry for the following question. I'm sure the answer will be simple,
but I'm searching for it since weeks...

My question:
Is there a way to click the Databowser-Buttons (Save, NewRec, GotoLast)
by code? As for example: DatbrwsrCsv2SqlTbl.Save  .NewRec  .ShowLast?

My Situation:
Migrating thousands of records from a csv into a databrowser connected
to a SqlDB, my form and its scripts:
- repairs most common syntax-errors and then
- imports each record into datacontrols connected to the databrowser
- if everything is fine
-- script then shall save, show last record, open a new record, do next
record-migration-loop
-- if not, user needs to resolve "advanced errors" manually and then
continue the "semi-auto-migration-script" again.
This is also the reason why  I do not work with an "invisible"
2-connection-2-result-comparison (as discussed in this mailing list some
weeks ago).


Thanks for Gambas,
thanks for your support,
and a good start into 2015 to all gambinos!


Hubi
ub2 at ...36...









More information about the User mailing list