Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recall by SQLEXEC
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00665359
Message ID:
00665521
Vues:
18
Hi!

Mark, it is a new for me too that VFP SP could be used directly through ODBC this way. I guess this is a good item for FAQ article, because this question is asked a lot of times at forums and newsgroups.

>You will have to put a stored Proc in the DBC and pass the "WHERE" clause to that as a parameter via a SELECT SQL. Then your SP can do a RECALL FOR parameter.
>
>SELECT SP_NAME("where_clause") FROM DUMMY_TABLE
>
>Your dummy table need only have 1 or no records and only 1 field.
>
>>Hi All,
>>
>>I am wondering how to RECALL a deleted record through ODBC connection using SQLEXEC. I want to avoid retrieving, setting cursor properties, recalling the record and then issueing a TABLEUPDATE(). I can do DETETE FROM tblname WHERE something. Why not RECALL FROM tblname WHERE something?
>>
>>I am using VFP6 SP5. The database is a standard Foxpro '.DBC'
>>
>>TIA
>>Mike
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform