Congratulations on the new release!
In beta 10, if I have this in a combo .Init
lparameters fake_parameter_reminder_return_dodefault_after_your_code_you_can_remove_me
IF thisform.wlHTMLgen
RETURN
ENDIF
this.RowSource = ''
SELECT cdescrip, nreportnum FROM REPORTS1 WHERE lactive = .t. INTO ARRAY this.waRowSource ORDER BY nreportnum NOCONSOLE
this.RowSource = 'this.waRowSource'
RETURN DODEFAULT()
I have a problem: the array inits one time and then never again. So let's say user 2 comes along, or a browser refresh, and in between the data in the reports dnbf has changed, the combo will not re-init with those new values.
Update: It seems the problem is not the .Init per se, but that FiC is not refreshing the dbf contents when the dbf records were modified outside of FiC. IOW if I change record 2 column 1 to be 'HELLO', if I do that from within the app I am fine. if I do it outside the app, I cannot get FiC to refresh and see the change.
Yes, form.Members.Init()
execute only once at initial form instantiation
In this case you'd move the code to .refresh_()
See Update above. Some times even reloading server is not enough to get FiC to see changed dbf's new data.
I'm havng some difficulty isolating exactly under what circumstances this happens. Any ideas on debugging ?