Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Collection object within a SQL - SELECT statement?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Collection object within a SQL - SELECT statement?
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01239238
Message ID:
01239238
Vues:
58
I'm trying to perform a select statement using a value from a collection and VFP doesn't seem to like what I'm doing. My code looks something like this:
oCollection = createobject("Collection")
oCollection.Add(newobject("manipulator","manipulator.prg"),"1")

...

select table1.key, oCollection.Item(1).Convert(table2.value);
  from table1;
  join table2 on table1.key = table2.key;
  into cursor temp
I get an [Function argument value, type, or count is invalid.] error.

Is there any way to do what I'm attempting?

Thanks for your help!

Rodd
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform