Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Selecting Memo fields in VFP9
Message
De
17/08/2005 19:03:11
 
 
À
17/08/2005 18:43:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01041811
Message ID:
01041816
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>>I have a cust.dbf containing a memo field cust.details
>>
>>The following code has worked fine for years in VFP7
>>
>>
>>select * from cust where "price"$details
>>
>>
>>but it falls over in my new VFP9 upgrade - with "Memo file missing or Invalid"
>>
>>I.E. I can run the code against the SAME table on the same PC and it is fine in VFP7, not so in VFP9.
>>
>>I have tried converting the details field by using ALLTRIM(details) in the SQL command but this has made no difference - I get the same error.
>>
>>Anyone got any suggestions?
>>
>>Thanks
>>Barry Sutton
>
>VFP9 is more sensitive to the errors of the files.
>The file memo is not perfect.

Yes - I noted this from one of Sergey Berezniker's postings. I followed his advice which was to go to VFP7, copy the table to a temporary table, PACKed the table and then recreated the cdx indexes. This has sorted it out and it now runs fine in VFP9.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform