Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBGETPROP malfunction?
Message
De
29/01/2017 05:02:05
 
 
À
29/01/2017 01:45:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Divers
Thread ID:
01647100
Message ID:
01647106
Vues:
47
>Hi,
>
>I have troubles with DBGETPROP function to get the caption:
>
>
>CREATE DATABASE test
>CREATE TABLE testtable (field1 c(10), field2 c(10))
>DBSETPROP('Testtable','Field','Caption','My Long Caption')
>? the caption is '+ DBGETPROP('testtable.field2','Field','Caption')
>
>
>errors "command contains unrecognized phrase / keyword" on row 4
>
>What is possibly going on here?
>
>Regards,
>Koen

When you create a table, it's not automatically added to the currently open database. You have to use the Add Table command. At least that's how I think it is, I have never used VFP databases myself.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform