Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO not firing off Default Value
Message
De
16/01/2003 11:28:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/01/2003 11:26:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00742401
Message ID:
00742440
Vues:
22
And I should have checked syntax before responding :)

oRS = oConn.Execute('StroredPProc(param)')
luValue = oRS.Fields(0).Value

Cetin

>I should've tried that before responding, there doesn't seem to be an Execute method in a RS.
>
>Kev
>
>>>>>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
>>>>
>>>>Yes, but you could call stored proc from ADO.
>>>>Cetin
>>>
>>>Um, could you advise me on how to do that?
>>>
>>>Thanks
>>>Kev
>>
>>oRS.Execute("myStoredProc(param)")
>>
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform