[Gambas-user] Unexpected error / abort

Benoit Minisini gambas at ...1...
Sat May 5 11:36:36 CEST 2007


On jeudi 3 mai 2007, Gareth Bult wrote:
> Ok,
>
> Now I've done it ...
>
> I changed the control to virtual ..
> Made an exec ..
> Loaded in my main application ...
>
> Now it failes with "Not Enough Arguments" before getting to any lines of
> code ..
>
> Reverting to a previous version of the component doesn't help ...
>
> Any ideas ?
>
> Gareth.
>

Can you send me the version of your component that raises this error?

Another point: I suggest you study the code of DataView and DataTable controls 
in gb.db.form. 

The DataView is like your GridEditor, except that it has less features, and is 
not editable. 

In DataTable, you will find how I buffer the database data so that I don't 
have to read the entire SELECT from a request that returns thousand records. 
This way, I can view a table with 1000000 records through Internet without 
any problem. The only requirement is that the table must have primary keys.

Maybe you could have used this control and extend it to write your GridEditor. 
This way, you would have got this buffer feature automatically.

I think it could be a good idea to merge your developmement into gb.db.form.

Regards,

-- 
Benoit Minisini




More information about the User mailing list