Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BROWSE PREFERENCE with Calculated Fields
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00480002
Message ID:
00480033
Vues:
13
>I have a BROWSE that is supposed to be saving and using the preferences and thus the positions of the columns.
>
>When the browse comes up the first time, the calculated fields are where they originally appeared in the command. (In the sample code it is the Patient Name column that is giving me fits.) But, when the browse is run the second time, the calculated fields are all off to the extreme right, even if they were on the left when the window was dismissed.
>
>I have tried deleting the contents of the memo field where the preferences are saved in the FOXUSER.DBF and deleting the FOXUSER.DBF and then running the browse. There is no change in this behaviour. It is as if there is some code that, before the preferences are saved but after the browse is displayed says, "Move calculated fields to the right on save."
>
>When I look at the preferences that were saved in the new FOXUSER.DBF for this browse, the calculated fields are the last ones in the string of fields. But, when the window was closed, they were on the left, in the positions they were created by the browse command.
>
>Anyone ever see this before? Is there a fix?
>
> SNIP

According to Hacker's Guide to VFP 6.0:

"BROWSE has no place in applications. In FoxPro 2.x, you could make some argument for it because there were no good alternatives. You either used BROWSE or lived without its row-at-a-time view of data. In Visual FoxPro, you can use a grid for that view and ignore BROWSE except as a powerful, interactive tool for you, the developer. "
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform