Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote Views - CDE - SPT
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00667886
Message ID:
00667911
Vues:
21
Forget about this.
I found the solution into Codemine's help file.
SPT are not updateable.

Sorry about that.

André

>Good morning everybody.
>I am having some difficulties trying to update a SQLPT CDE cursor. My backend is a SQL Server and I use Foxpro's connection in the DBC.
>
>In order to test some situations, I created a form with frmdatamanagerformcustom class and included a native remote view in the DE. I put two textboxes on the form and run it. I could access the toolbar, New, Delete, and navigation were there. Then I exported the DE into a CDE and removed the remote view from the DE. The CDE is based on the remote view and all settings are defaults. When I ran the form, I could access the toolbar as the first situations and I could update the data on the backend. But then, I pushed it a little further and tried to make it run with SPT within CDE. So I modified the CDE and set it to SPT, I set to defaults. The select statement is Select * from cursor. The connection name is good. Then I tried to run the form. I can see the data. I can navigate. But I can't ADD, Delete and the data does not save. Also, the textboxes appears in GREY. This looks like read-only.
>
>Does someone know why my SPT does not update and what setting am I missing ?...
>
>Thanks.
>
>André Deshaies
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform