This is a multi-part message in MIME format.
------=_NextPart_000_0012_01C5F717.88A4FE30
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0013_01C5F717.88A4FE30"
------=_NextPart_001_0013_01C5F717.88A4FE30
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
trying to link a combobox with a numeric datafield I get the error even =
though Tcombobox:nDataType is set to :dtDEFAULT according to the =
manual:
dtDEFAULT: for oDataField objects that return numeric values, it =
will relate this numeric value with the nIndex ComboBox property. For =
character type values, it will search the string in the ComboBox list of =
elements. =20
A sample is encluded.
What is wrong with the code?
Thanks in advance
Ingo=20
=20
=20
=20
------=_NextPart_001_0013_01C5F717.88A4FE30
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2769" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>Â</DIV>
<DIV><FONT face=3DArial size=3D2>trying to link a combobox with a =
numeric datafield=20
I get the error even though Tcombobox:nDataType is set =
toÂÂ:dtDEFAULT=20
according to the manual:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>Â</DIV>
<DIV>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
<TBODY>
<TR vAlign=3Dtop>
<TD>
<DIV><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: =
Helvetica,Arial"><FONT=20
face=3DArial><STRONG>dtDEFAULT</STRONG>: <STRONG><EM>for=20
</EM></STRONG></FONT><A=20
=
href=3D" mk:@MSITStore:C:XailerhelpXailerEn.chm::/tdbcomboboxodata field=
..htm"><FONT=20
face=3DArial><STRONG><EM>oDataField</EM></STRONG></FONT ></A><FONT=20
face=3DArial><STRONG><EM> objects that return numeric values, it =
will relate=20
this numeric value with the </EM></STRONG></FONT><A=20
=
href=3D" mk:@MSITStore:C:XailerhelpXailerEn.chm::/tcomboboxnindex. htm ">=
<FONT=20
face=3DArial><STRONG><EM>nIndex</EM></STRONG></FONT></A ><FONT =
face=3DArial>=20
ComboBox property. For character type values, it will search the =
string in=20
the ComboBox list of elements.ÂÂ<BR></FONT></SPAN></DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: =
Helvetica,Arial"><FONT=20
face=3DArial>A sample is encluded.</FONT></SPAN></DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: =
Helvetica,Arial"><FONT=20
face=3DArial></FONT></SPAN>Â</DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: =
Helvetica,Arial"><FONT=20
face=3DArial>What is wrong with the code?</FONT></SPAN></DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: =
Helvetica,Arial"><FONT=20
face=3DArial></FONT></SPAN>Â</DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: =
Helvetica,Arial"><FONT=20
face=3DArial>Thanks in advance</FONT></SPAN></DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: =
Helvetica,Arial"><FONT=20
face=3DArial></FONT></SPAN>Â</DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: =
Helvetica,Arial"><FONT=20
face=3DArial>Ingo</DIV></FONT></SPAN></TD></TR></TBODY ></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
<TBODY>
<TR vAlign=3Dtop>
<TD width=3D14><FONT face=3DArial size=3D2></FONT></TD>
<TD width=3D14><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: =
Helvetica,Arial"><FONT=20
face=3DArial size=3D2></FONT></SPAN></TD>
<TD><FONT face=3DArial =
size=3D2></FONT></TD></TR></TBODY></TABLE><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Helvetica,Arial">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
<TBODY>
<TR vAlign=3Dtop>
<TD width=3D14><FONT face=3DArial size=3D2></FONT></TD>
<TD><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: =
Helvetica,Arial"></SPAN></SPAN></SPAN><SPAN=20
style=3D"FONT-SIZE: 5pt; COLOR: #000000; FONT-FAMILY: =
Helvetica,Arial"><FONT=20
face=3DArial=20
size=3D2>Â<BR></FONT></SPAN></TD></TR></TBODY ></TABLE></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>Â</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>Â</DIV></BODY></HTML>
------=_NextPart_001_0013_01C5F717.88A4FE30--
------=_NextPart_000_0012_01C5F717.88A4FE30
Content-Type: application/x-zip-compressed;
name="test.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="test.zip"
UEsDBBQAAgAIAK4tTjMLWJzClQEAAJICAAAIAAAAdGVzdC54cGpdUctu2zAQ vAvQrwh1m14K8OBY
MsLCtAxZaAvEPVDUxmFDkcSSTO0v6m92KSVB2hOHO7Ov2ftD135tNv3Psuiv HhhcoCxqCAq1j9pZ
FiHEsmhT9CnOn2qWbNzktQFklzuJg0tYFkJqK9yYDLCtw2lVeTyXxY+DkFY/ UCKr+qosuKKiZXGQ
KCeIgIE+bSNYtSVSJBO1N8BtiNIqCEvON5LlWVbVh7LowIAMwAjeJm3GDPI0 0l6ZWO/r9b7/rW2O
+Wunz4+RGvQoRxASn3I3Ek9gY4b37aHn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EAAAAAdGVzdC54cGpQSwECFAAUAAIACAC2VR4x FttBhsMAAAAUAQAA
DwAAAAAAAAAAACAAtIG7AQAAU291cmNlL3Rlc3QucHJnUEsBAhQAFAACAAgA ry1OM3hyDMx1AQAA
fQQAABAAAAAAAAAAAAAgALSBqwIAAFNvdXJjZS9Gb3JtMS5wcmdQSwECFAAU AAIACACvLU4zBw6J
yjICAADABwAAEAAAAAAAAAAAACAAtIFOBAAAU291cmNlL0Zvcm0xLnhmbVBL AQIUABQAAAAIAKw9
gjOPeyoKMgAAAEMAAAAJAAAAAAAAAAAAIAC2ga4GAABDT01CTy5EQkZQSwUG AAAAAAUABQAmAQAA
BwcAAAAA
------=_NextPart_000_0012_01C5F717.88A4FE30--
Attached files test.zip (2.1 KB)Â
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
TDBCombobox problem
TDBCombobox problem
It's solved. I changed the TComboBox:nStyle to csDROPDOWNLIST.
Regards
"Ingo" <ingo.jh@web.de> schrieb im Newsbeitrag news:[email=438ff2dc@ozsrvnegro.ozlan.local...]438ff2dc@ozsrvnegro.ozlan.local...[/email]
Hello,
trying to link a combobox with a numeric datafield I get the error even though Tcombobox:nDataType is set to :dtDEFAULT according to the manual:
dtDEFAULT: for oDataField objects that return numeric values, it will relate this numeric value with the nIndex ComboBox property. For character type values, it will search the string in the ComboBox list of elements.
A sample is encluded.
What is wrong with the code?
Thanks in advance
Ingo
--
Regards
"Ingo" <ingo.jh@web.de> schrieb im Newsbeitrag news:[email=438ff2dc@ozsrvnegro.ozlan.local...]438ff2dc@ozsrvnegro.ozlan.local...[/email]
Hello,
trying to link a combobox with a numeric datafield I get the error even though Tcombobox:nDataType is set to :dtDEFAULT according to the manual:
dtDEFAULT: for oDataField objects that return numeric values, it will relate this numeric value with the nIndex ComboBox property. For character type values, it will search the string in the ComboBox list of elements.
A sample is encluded.
What is wrong with the code?
Thanks in advance
Ingo
--