Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select table problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00090012
Message ID:
00090162
Vues:
32
>>I'm trying to select a table from a method, but keep getting a message referring to an unknown object. Why would my program think the table I'm trying to select is an object? When I got the error, I went to the command window to see if the table was there and opened and it was.
>
>I had that error - it turned out I'd misspelled a field name. The error wasn't on the SELECT line, but the next line where it was looking for the field (Mytable.Myfield). The '.' in the syntax led VFP to look for an object when it couldn't find the table/field combination.
>
>HTH

Barbara -

I went back and looked at my SELECT statement, which as I mentioned was followed by an Append blank. But following that was a line with a syntax error (I'd used a table.field = table2.field2 instead of replace), so when I fixed that, the error went away. I appreciate you help. Do you have any explanation on why this kind of error (in my case 2 lines down) would cause VFP to report an error on the SELECT line?

Sylvia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform