Information générale
Catégorie:
Codage, syntaxe et commandes
Sadly, I'm still usung VFP 6, though I have a copy of Visual Studio .net to play with when this project is done. The table is there, spelled exactly the same as in code, and while it is only a single record table (system parameters, output paths etc,) it does return the values I need. I've even added it to the form's data environment, still prompts for the table :(
>>For some reason, syntax I've used for years to open tables with will not open the table I tell it to:
>>select vendexp_fi from data/sys_def into array temp
>>
>>I've tried it with the full path(which I hate doing because I can't control where the client puts the app), with data1!sys_def.dbf, and every other thing I can think of, but it just plain refuses to open the table without promting the user to select it. The syntax of the sample I've used hundreds of times to open tables in code with nary a problem, till this app.
>
>Did you recently switch to VFP8? There are some new fetures in the SELECT SQL command. Even though your code doesn't seem to conflict with the new features introduced in VFP8 you might want to try to set engine behaviour to 7 (check help for syntax cuz I am on a vfp6 machine now).
>
>If you are not using VFP8. Have you checked the obvious: Is the table there? is the field in the table?
>
>Einar
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