Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp CustomDataClass flips syntax error at runtime
Message
De
07/03/2005 17:59:52
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
07/03/2005 17:27:51
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00993018
Message ID:
00993452
Vues:
21
Neil,
The file you're looking for is in Mere Mortals Framework project, mmData.cs. The object is mmDataAccessOleDB, and the method is SaveDataSet(DataSet ds, string tableName,
string primaryKeyName, bool retrieveAutoIncrementPK, IDbDataAdapter dbAdapter).

Put a breakpoint about halfway down the method, on the line "if (this.DataAdapter.InsertCommand == null)"

When this runs, after either verifying it's not null, or after the next line of code creates the command object, look at what's in this.DataAdapter.InsertCommand.CommandText -- this is what will be sent to VFP. If the problem isn't immediately apparent, try copying it to the VFP command window. You might also want to post it here. It may catch more than one eye!

---J


>It makes perfect sense to look at the data adapter but I don't know how to hook into it and view what is being transmitted. Where would you do it and how? What class, etc. It would be a terrific skill to master since I continue to struggle with the lack of adpater wizard support for vfp.
>
>Neil
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform