Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Hi Yousfi. I got it sorted out, thanks. The trick was to start with a grid that had no RecordSource at all, and no ControlSources for the columns, but everything set up as you want it to look, and then to juggle with using referenced file names as the source, as they are not permanent files, and the name changes constantly. Structure is always the same, so that didn't mess with the order of the fields as they appear in the grid. The only unresolved issue I had was that the one permanent reference file that there is. VFP doesn't like me setting ThisForm.Grid1.RecordSource=&PermanentFile - that works for all the temp files, but not the permanent file. It kicked up an error, but if you click OK in the error box, it loads the file, and on you go, so I put in the Error event IF nError greater than 0, do nothing, ENDIF. I will mess with it further to try resolving that issue later, but for now production is rolling in the work environment, and it produces no side effects. Thanks for your info, tho - always appreciated!
Précédent
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