Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Loading Certain CursorAdapter Object
Message
 
 
À
13/10/2010 08:17:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01485221
Message ID:
01485228
Vues:
59
Add where 1=0 in your SelectCmd command. In addition, specify there all columns instead (and if you don't need some, remove them)

>>Can you post your CAs definitions? Are you trying to select everything from these tables?
>
>Here it is. No I am not selecting everything. Right now, it won't work even if Nodata = .T. =(
>
>
>**************************************************
>*-- Class:        caparcel (d:\vfp9dev\pelican\classes\pelican.vcx)
>*-- ParentClass:  mysqlcursoradapter (d:\vfp9dev\classes\ntier.vcx)
>*-- BaseClass:    cursoradapter
>*-- Time Stamp:   07/09/10 08:55:10 AM
>*
>#INCLUDE "d:\vfp9dev\includes\system.h"
>*
>DEFINE CLASS caparcel AS mysqlcursoradapter
>
>
>	UseDeDataSource = .T.
>	SelectCmd = "select * from parcel"
>	>	Alias = "parcel"
>	Flags = 0
>	KeyFieldList = "ID"
>	Tables = "parcel"
>	>	parentalias = "joborder"
>	parentkeyfields = "id"
>	keyfields = "joborderid"
>	hasautoincfield = .T.
>	autoincfield = "pid"
>	Name = "caparcel"
>
>ENDDEFINE
>*
>*-- EndDefine: caparcel
>**************************************************
>
>
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform