Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to come up with a view/CA model
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01410693
Message ID:
01410920
Vues:
45
Hi Boris,

I checked the generated commands and they are

UPDATE DealerOpts SET RETAIL=curdealeropts.retail WHERE OPTSID IS NULL AND RETAIL IS NULL

Obviously it would not work.

I'm thinking, I need to come up with the different solution - but not exactly know yet. In my select I need to use INNER JOIN (not left or right join).

Then I need to execute some code after CursorFill to insert extra records (which are not yet in my table) for selected models.

Do you know what method should I hook to do some extra code and how exactly should I program it?

Thanks again.

>>>>Also, do I have to specify UpdateCmd, InsertCmd? And InsertRefreshCmd ? I forgot all these details, I think we discussed this before.
>>>
>>>There is no need except you want to change default CMDs generated by VFP.
>>
>>How would I know these default commands? Check in run-time?
>
>You could check them in Before* methods (BeforeUpdate, BeforeInsert, BeforeDelete) Last parameter will contain the command.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform