Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image control doesn't show selected image
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01642403
Message ID:
01642435
Vues:
29
>>>>The file is read with the sqlexec and then made updateable view.
>>>
>>>You can do the same with a cursoradapter plus you can specify a schema. Can't give you an example, because the class I use already has the code for the fields I leave at default mapping, so I don't have to write any of it, just specify the fields where I want a non-default mapping. The code in the class is proprietary, sorry.
>>
>>We're not using CursorAdapter in that application.
>
>
>CURSORSETPROP("MapBinary",0)
>
>?

I've checked the code of this form.

First it does LoadDataEnv (custom method to open all tables from SQL Server) and then

dodefault()

which has

do set_setup
cursorsetprop("MapBinary", .t., 0) && Maps image/varbinary(max) fields to blob in VFP

So, is this line set too late (after everything was opened already) or it's fine?
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