Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO not firing off Default Value
Message
De
17/01/2003 09:55:45
 
 
À
16/01/2003 14:58:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00742401
Message ID:
00742864
Vues:
20
>>Hi
>>
>>When creating a new record using an ADO Recordset via ODBC to a VFP DBC Table, it doesn't use the Default Value that I have in the Table properties.
>>
>>Is this normal? Do I have to enter the default value via ADO to achieve this?
>>
>>Thanks
>>Kev
>
>You can also implement those yourself by looking at the results of the OpenSchema method of the connection object. When you specify adSchemaColumns as the first parameter you will have this information on the COLUMN_HASDEFAULT and COLUMN_DEFAULT fields of the resulting recordset. HTH,

Thanks, which is probably good idea so I don't need to hard-code the default-value.

Kev
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform