Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbgetprop Converts
Message
De
27/04/2004 21:31:05
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Dbgetprop Converts
Divers
Thread ID:
00898789
Message ID:
00898789
Vues:
42
The first four lines of a function in stored procs are as follows:
function WhatEver
parameters TableField
FName = proper(substr(TableField, at(".", OldF) + 1))
FText = dbgetprop(TableField, "Field", "Caption")

I know that the TableField parameter is TableName.FieldName because line 3 returns the fieldname.
However, line 4 produces an error (Invalid function argument type)
TableName.Fieldname is an integer field but, I'm not sending the contents, just the name.
It appears that dbgetprop is evaluating the contents.

How can I get the desired "Caption"?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform