2009/10/13 Horodyski Marek (PZUZ) <[email protected]>:
>>-----Original Message-----
> I have tested ADO from contrib.
> >From Oracle correctly maps only field type CHARACTER.
> For others types, gives the value of U.
Can you post a sample (that recreate your problem )
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=6814
follow my untested sample
#include "adordd.ch"
REQUEST ADORDD
function Main(x_string)
OPEN CONNECTION x_string
aDbf := {}
AADD( aDbf, { "FN", "N", 10, 0 } )
AADD( aDbf, { "FNF", "N", 12, 4 } )
AADD( aDbf, { "FC", "C", 40, 0 } )
AADD( aDbf, { "FD", "D", 8, 0 } )
AADD( aDbf, { "FL", "L", 1, 0 } )
AADD( aDbf, { "FM", "M", 0, 0 } )
dbCreate("dbtest",aDbf)
? "Creating test database - inserting", nrec, " records"
use dbtest SHARED via "adordd"
IF NETERR()
? "Unable to open DBTEST "
ENDIF
? "INSERT 10 "
for i = 1 to 10
append blank
replace fn with A
replace fnf with A*A
replace fc with replicate( CHR(65+A ), 40 )
replace fd with date() + A
replace fl with A*2
next
browse()
> SQLMIX properly at the moment gives me a values of various types for
> ORACLE and MS SQL SERVER.
also here a sample
--
Massimo Belgrano
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour