Did you create a FORM property (for the array's rowsource property) used in the combobox defined with something like:
myarray(1,1)
and then populate the array again in either the Form's init (or combobox init) and issue a requery() on the combobox? Also, if code in the form's init or the combox boxe's init, do you have a DODEFAULT() in both also?
Tracy
>No, only SET statements for deleted, century, date, exact, ....
>I compile 'n' times before and was fine, doing some modification on a method in form 'calcul', setting tab order and on next compile I got error "Array not defined" from a combo.init wich is supposed to be created in DE.init (array for combo.rowsource is created in DE)
>
>>Do you've any code in the Load of the form that could change the event order?
>>
>>>Hi,
>>>
>>>As I know so far order of events at form load was:
>>>form.de.beforeopentables
>>>form.load
>>>form.de.cursor1.....n.init
>>>form.de.init
>>>form.objects.init
>>>form.init
>>>
>>>now when debuging some errors in one form I get this order of events:
>>>54259.007, frmlistasomaj.sup.option1.Init()
>>>54259.007, frmlistasomaj.sup.option2.Init()
>>>54259.017, frmlistasomaj.sup.Init()
>>>54259.017, frmlistasomaj.dataenvironment.cursor1.Init()
>>>54259.027, frmlistasomaj.dataenvironment.cursor5.Init()
>>>54259.027, frmlistasomaj.dataenvironment.cursor2.Init()
>>>54259.037, frmlistasomaj.dataenvironment.cursor3.Init()
>>>54259.037, frmlistasomaj.dataenvironment.cursor4.Init()
>>>54259.047, frmlistasomaj.dataenvironment.cursor6.Init()
>>>54259.047, frmlistasomaj.dataenvironment.cursor7.Init()
>>>54259.047, frmlistasomaj.dataenvironment.Init()
>>>54259.097, frmlistasomaj.nrinreg.Init()
>>>54259.097, frmlistasomaj.Init()
>>>54259.107, frmlistasomaj.month.RangeLow()
>>>54259.107, frmlistasomaj.month.RangeHigh()
>>>54259.117, frmlistasomaj.month.ProgrammaticChange()
>>>
>>>this look like init for dataenvironment is between some onject within form
>>>
>>>Any help?
>>>Thanks
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"