Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sys(2012) to check if table has memo
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00224615
Message ID:
00224664
Vues:
16
Marc,

you're welcome. My answer was a fast shot. Yes afields is a little cumbersome, but it would work. I haven't had a close look to dbgetprop(), you're right it's of no use.

A third ideea: open the file as a binary one, there is a flag for memo or not.

Vlad




>Thanks Vlad,
>
>Well all I need to know is whether or not there is a Memo. With afields I woudl have to loop through each field. How dbGetProp can help is not clear to me, but maybe because have not looked into it close enough.
>
>Kind regards,
>
>Marc
>
>
>>>Hi,
>>>
>>>I'm considering setting a lHasMemo property of my table object at opening based on sys(2012). Anybody done that? Is it reliable?
>>>
>>>TIA,
>>>
>>>Marc
>>
>>Marc,
>>
>>I dont't now how reliable sys(2012) is, but why aren't you trying dbgetprop() or afields() ?
Vlad-Georg
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform