Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid order
Message
De
12/05/2016 08:27:15
 
 
À
12/05/2016 05:37:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01636103
Message ID:
01636215
Vues:
51
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
Fil
Voir

Click here to load this message in the networking platform