awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
-- thn (FoxInCloud)
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
-- thn (FoxInCloud)
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
if you have a syntax error it means that some of the terms in the SQL-select is incorrect
could you set step on just before the SELECT and see what can be wrong?
Thanks
TaGen.DBF is a table that contains different codes...In This.TipoTab i have a 2 characters string that is necessary to select only the requested records in TaGen.DBF...
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
-- thn (FoxInCloud)
At the moment it seems ok. Have you other suggests ?
OK thanks
if you have a syntax error it means that some of the terms in the SQL-select is incorrect
could you set step on just before the SELECT and see what can be wrong?
Thanks
TaGen.DBF is a table that contains different codes...In This.TipoTab i have a 2 characters string that is necessary to select only the requested records in TaGen.DBF...
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
In one form i have one only combobox, but the Init() of this combo was called three times and one of these had This.TipoTab = "". Now i test This.TipoTab and when empty i skip all the code in the Init()......
At the moment it seems ok. Have you other suggests ?
OK thanks
if you have a syntax error it means that some of the terms in the SQL-select is incorrect
could you set step on just before the SELECT and see what can be wrong?
Thanks
TaGen.DBF is a table that contains different codes...In This.TipoTab i have a 2 characters string that is necessary to select only the requested records in TaGen.DBF...
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
If an error occurs during this, probably in class.init(), you get a warning "Class 'xxx' can't be instantiated standalone"
In one form i have one only combobox, but the Init() of this combo was called three times and one of these had This.TipoTab = "". Now i test This.TipoTab and when empty i skip all the code in the Init()......
At the moment it seems ok. Have you other suggests ?
OK thanks
if you have a syntax error it means that some of the terms in the SQL-select is incorrect
could you set step on just before the SELECT and see what can be wrong?
Thanks
TaGen.DBF is a table that contains different codes...In This.TipoTab i have a 2 characters string that is necessary to select only the requested records in TaGen.DBF...
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
-- thn (FoxInCloud)
Another problem. Always with some combo.....In one form a i have on of these combo (linked to Tagen.dbf). I can select it and see all the values in it. I select a value and it is shown correctly. Whan i try to save data in the combo.value i have no value....even if i selected a record.....the same problem if i put in my form other combos.....
In one form i have one only combobox, but the Init() of this combo was called three times and one of these had This.TipoTab = "". Now i test This.TipoTab and when empty i skip all the code in the Init()......
At the moment it seems ok. Have you other suggests ?
OK thanks
if you have a syntax error it means that some of the terms in the SQL-select is incorrect
could you set step on just before the SELECT and see what can be wrong?
Thanks
TaGen.DBF is a table that contains different codes...In This.TipoTab i have a 2 characters string that is necessary to select only the requested records in TaGen.DBF...
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
-- thn (FoxInCloud)
Combo.ControlSource = ""
In these forms i always work without controlsource on controls....
do you have combo.boundTo and .controlSource?
Another problem. Always with some combo.....In one form a i have on of these combo (linked to Tagen.dbf). I can select it and see all the values in it. I select a value and it is shown correctly. Whan i try to save data in the combo.value i have no value....even if i selected a record.....the same problem if i put in my form other combos.....
In one form i have one only combobox, but the Init() of this combo was called three times and one of these had This.TipoTab = "". Now i test This.TipoTab and when empty i skip all the code in the Init()......
At the moment it seems ok. Have you other suggests ?
OK thanks
if you have a syntax error it means that some of the terms in the SQL-select is incorrect
could you set step on just before the SELECT and see what can be wrong?
Thanks
TaGen.DBF is a table that contains different codes...In This.TipoTab i have a 2 characters string that is necessary to select only the requested records in TaGen.DBF...
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
Combo.BoundTo = .T.
Combo.BoundTo = .F.
Combo.ControlSource = ""
In these forms i always work without controlsource on controls....
do you have combo.boundTo and .controlSource?
Another problem. Always with some combo.....In one form a i have on of these combo (linked to Tagen.dbf). I can select it and see all the values in it. I select a value and it is shown correctly. Whan i try to save data in the combo.value i have no value....even if i selected a record.....the same problem if i put in my form other combos.....
In one form i have one only combobox, but the Init() of this combo was called three times and one of these had This.TipoTab = "". Now i test This.TipoTab and when empty i skip all the code in the Init()......
At the moment it seems ok. Have you other suggests ?
OK thanks
if you have a syntax error it means that some of the terms in the SQL-select is incorrect
could you set step on just before the SELECT and see what can be wrong?
Thanks
TaGen.DBF is a table that contains different codes...In This.TipoTab i have a 2 characters string that is necessary to select only the requested records in TaGen.DBF...
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
-- thn (FoxInCloud)
i would try
Combo.BoundTo = .T.
Combo.BoundTo = .F.
Combo.ControlSource = ""
In these forms i always work without controlsource on controls....
do you have combo.boundTo and .controlSource?
Another problem. Always with some combo.....In one form a i have on of these combo (linked to Tagen.dbf). I can select it and see all the values in it. I select a value and it is shown correctly. Whan i try to save data in the combo.value i have no value....even if i selected a record.....the same problem if i put in my form other combos.....
In one form i have one only combobox, but the Init() of this combo was called three times and one of these had This.TipoTab = "". Now i test This.TipoTab and when empty i skip all the code in the Init()......
At the moment it seems ok. Have you other suggests ?
OK thanks
if you have a syntax error it means that some of the terms in the SQL-select is incorrect
could you set step on just before the SELECT and see what can be wrong?
Thanks
TaGen.DBF is a table that contains different codes...In This.TipoTab i have a 2 characters string that is necessary to select only the requested records in TaGen.DBF...
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
Nothing changes....The particular thing is that in other forms the same controls works...
i would try
Combo.BoundTo = .T.
Combo.BoundTo = .F.
Combo.ControlSource = ""
In these forms i always work without controlsource on controls....
do you have combo.boundTo and .controlSource?
Another problem. Always with some combo.....In one form a i have on of these combo (linked to Tagen.dbf). I can select it and see all the values in it. I select a value and it is shown correctly. Whan i try to save data in the combo.value i have no value....even if i selected a record.....the same problem if i put in my form other combos.....
In one form i have one only combobox, but the Init() of this combo was called three times and one of these had This.TipoTab = "". Now i test This.TipoTab and when empty i skip all the code in the Init()......
At the moment it seems ok. Have you other suggests ?
OK thanks
if you have a syntax error it means that some of the terms in the SQL-select is incorrect
could you set step on just before the SELECT and see what can be wrong?
Thanks
TaGen.DBF is a table that contains different codes...In This.TipoTab i have a 2 characters string that is necessary to select only the requested records in TaGen.DBF...
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
-- thn (FoxInCloud)
no javascript error?
Nothing changes....The particular thing is that in other forms the same controls works...
i would try
Combo.BoundTo = .T.
Combo.BoundTo = .F.
Combo.ControlSource = ""
In these forms i always work without controlsource on controls....
do you have combo.boundTo and .controlSource?
Another problem. Always with some combo.....In one form a i have on of these combo (linked to Tagen.dbf). I can select it and see all the values in it. I select a value and it is shown correctly. Whan i try to save data in the combo.value i have no value....even if i selected a record.....the same problem if i put in my form other combos.....
In one form i have one only combobox, but the Init() of this combo was called three times and one of these had This.TipoTab = "". Now i test This.TipoTab and when empty i skip all the code in the Init()......
At the moment it seems ok. Have you other suggests ?
OK thanks
if you have a syntax error it means that some of the terms in the SQL-select is incorrect
could you set step on just before the SELECT and see what can be wrong?
Thanks
TaGen.DBF is a table that contains different codes...In This.TipoTab i have a 2 characters string that is necessary to select only the requested records in TaGen.DBF...
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
If i open firebug i don't see errors....
no javascript error?
Nothing changes....The particular thing is that in other forms the same controls works...
i would try
Combo.BoundTo = .T.
Combo.BoundTo = .F.
Combo.ControlSource = ""
In these forms i always work without controlsource on controls....
do you have combo.boundTo and .controlSource?
Another problem. Always with some combo.....In one form a i have on of these combo (linked to Tagen.dbf). I can select it and see all the values in it. I select a value and it is shown correctly. Whan i try to save data in the combo.value i have no value....even if i selected a record.....the same problem if i put in my form other combos.....
In one form i have one only combobox, but the Init() of this combo was called three times and one of these had This.TipoTab = "". Now i test This.TipoTab and when empty i skip all the code in the Init()......
At the moment it seems ok. Have you other suggests ?
OK thanks
if you have a syntax error it means that some of the terms in the SQL-select is incorrect
could you set step on just before the SELECT and see what can be wrong?
Thanks
TaGen.DBF is a table that contains different codes...In This.TipoTab i have a 2 characters string that is necessary to select only the requested records in TaGen.DBF...
what do you have in This.TipoTab?
DoDefault()This.CursorName = This.TipoTab + Sys(3)
cTable = This.CursorName
lUsed = Used("TaGen")
If !lUsed
=Use("TaGen")
Else
nRec = Recno("TaGen")
EndIfSelect Code,Des1 From Tagen Where Tipo = This.TipoTab Order By Code Into Cursor (cTable) ReadWrite
*!*Insert Into (cTable) (Des1) Values ("")
Index On Code Tag CodeThis.RowSourceType = 6
This.RowSource = cTable + ".Des1,Code"
This.BoundColumn = 2
This.FirstElement = 1If !lUsed
Use In TaGen
Else
=Go(nRec,"TaGen")
EndIfThis.Refresh
can you post _combobox_tagen.Init() full code?
What is wrong ? In my logo i have this warning every time i use a combobox....The app works fine and even all my comboboxes
awapphost.warning Awhtmlgen.o_pageframe1.opage1.ousr.ocontrol_aclass(): Class '_combobox_tagen' can't be instantiated standalone: Method or procedure init(): error #10 ("Syntax error.") at code line #12 ("Select Code,Des1 From Tagen Where Tipo = cTable Order By Code Into Cursor (cTable) ReadWrite")
-- thn (FoxInCloud)