SitesMasstec
Programmer
Hello colleagues:
I have two ComboBox named cboCia and cboNavio:
When I run the form, ComboBox named cboCia is populated with names of companies read from a file.
When I choose an item (company name) in the ComboBox named cboCia, it shows:
and it has to populate the ComboBox named cboNavio with names of ships:
So, in the form I clicked on AW - AMAWATERWAYS, it opens a file which stores this company collection of ships, and I need to show them in the ComboBox named cboNavio.
In the LostFocus procedure in cboCia, the code:
This is TEMPNAVIOS.DBF file (it has data, but these data is not populated in the ComboBox names cboNavio:
What am I missing?
Thank you,
SitesMasstec
I have two ComboBox named cboCia and cboNavio:
When I run the form, ComboBox named cboCia is populated with names of companies read from a file.
When I choose an item (company name) in the ComboBox named cboCia, it shows:
and it has to populate the ComboBox named cboNavio with names of ships:
So, in the form I clicked on AW - AMAWATERWAYS, it opens a file which stores this company collection of ships, and I need to show them in the ComboBox named cboNavio.
In the LostFocus procedure in cboCia, the code:
Code:
SELECT 120
Select XIDENTNAV from TEMPNAVIOS into cursor CURNAVIOS
thisform.cboNavio.RowSourceType= 6 && Fields
thisform.cboNavio.RowSource=CURNAVIOS.XIDENTNAV
This is TEMPNAVIOS.DBF file (it has data, but these data is not populated in the ComboBox names cboNavio:
What am I missing?
Thank you,
SitesMasstec