Information générale
Catégorie:
Codage, syntaxe et commandes
>>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 -
Hhmm, my next line is an append blank, so I don't think the field mispelling would cause a problem there. (On a side note, I constantly find myself thinking why is it that doing the simplest things in previous versions of VFP seem so to cause so much trouble for me now:)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement