Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange error in cmBindingManager
Message
De
17/11/2004 10:35:07
Ken Penrod
Technical Perspectives, Inc.
Richardson, Texas, États-Unis
 
 
À
16/11/2004 15:18:51
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00961864
Message ID:
00962206
Vues:
11
Gary,
I took the drastic approach. Blew away the whole form and started from scratch. Life is much better now. Not sure why AddProperty would create a SQL syntax error, but hey! I'm not gonna lose sleep over it. Thanks.

Ken

>
>Have you subclassed the combo's Init method in any way? If so, post the code.
>
>If not, try deleting the combo and adding in a new instance to the form.
>
>
>>I have a form with a combobox that's based on the cbocomboboxcustom class and has a remote view as it's rowsource. Whenever I run the form I get the following error in the cmbindingmanager.initbinding method...
>> ERROR #1808 in Formformdistrist001.cbodistrictname.addproperty
>>
>> SQL ORDER BY clause is invalid
>>
>>However, the code blows up on an addproperty method inside initbinding...
>> WITH m.oThis
>> ...
>> .AddProperty('uOriginalValue', .NULL.)
>>
>>The line of code doesn't appear to have anything to do with the error message. Has anyone seen this before? Any ideas?
>>
>>Thanks,
>>Ken Penrod
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform