Hi,
Can some one share the code for how to set index of a dbcombo.After save operation i wand to set
the index to 0 for dbcombo.
thanks in advance
Regards,
Sajith
Hi,
Can some one share the code for how to set index of a dbcombo.After save operation i wand to set
the index to 0 for dbcombo.
thanks in advance
Regards,
Sajith
Sajith,
DBCombo does not have an index--internally it holds all the data in two arrays. If you use a DBF as the datasource, then it must be indexed before you call DBCombo. If you want to change the order of the data after the DBCombo has been initialized, try reloading it oDBC:refill(). There may be a noticable delay while it is reloaded if there are a lot of records. Don't forget to reset the order of the DBF before calling the refill() method.
Regards,
James
Many thanks for ur reply
Regards,
Sajith ![]()