TheBlainer
Programmer
Hi
I have a form with a listbox that contains a SQL statement. In the init of the form, there's the code
I used the debugger and I saw that when I affect the rowsource to the lstthermos, the table is also stocked in the dbf(4), so it's in the DBF(107) and DBF(4).
Why 4? 1, 2 and 3 aren't used...
So I wonder if someone know why it's doing that, because it wouldn't be the first time this kind of problem happen to me.
Thanks
TheBlainer
I have a form with a listbox that contains a SQL statement. In the init of the form, there's the code
Code:
Thisform.lsttHERMOS.RowSourceType = 3
SELECT 107
USE N:\APPS\PAL_NOVA SHARED
thisform.lstthermos.RowSource = "SELECT NOM FROM " + DBF(107) + " INTO CURSOR mylist"
THISFORM.LSTthermos.Requery
THISFORM.lstthermos.SetFocus
Why 4? 1, 2 and 3 aren't used...
So I wonder if someone know why it's doing that, because it wouldn't be the first time this kind of problem happen to me.
Thanks
TheBlainer