Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datatoclip with zero records
Message
De
31/03/2006 07:37:54
 
 
À
29/03/2006 12:30:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01108844
Message ID:
01109462
Vues:
32
>>When I do _vfp.datatoclip with a table/cursor that has zero records, the result is an error:
>>
>>OLE IDispatch exception code 0 from Visual Foxpro for Windows: 11 :Function argument value, type or count is invalid...
>>
>>Have I encountered a third bug in only three days here?
>
>No, you have to check for there being any records BEFORE you use DataToClip.

So, YES, I have found a third bug in three days. :) Because it is not documented that DataToClip will fail if there are zero records. Agree?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform