The following bug was posted on SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=2539648&group_id=681&atid=100681

Anonymous wrote:
--------------------------------------------------------
Type() & ValType() these funtions are not interpret DataTypes of ADORDD
specially for numeric and dates datatypes. please see below examples.

#include "adordd.ch"

REQUEST ADORDD

function Main()
*---
* Test->First CHAR(20)
* Test->Last CHAR(20)
* Test->Age NUMERIC(10)
* Test->Dob_Date DATE
*--
USE Test.mdb VIA "ADORDD" TABLE "Table1"

? Type('Test->First')            // "C" -- correct 
? Type('Test->Last' )           // "C" -- correct 
? Type('Test->Age' )           // "U" -- RETURN UNKNOW 
? Type('Test->Dob_Date' ) // "U" -- RETURN UNKNOW 

USE

return nil
--------------------------------------------------------

Can someone using ADORDD can confirm this?


  Chen._______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to