Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Customizing the comment string
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00571391
Message ID:
00571392
Vues:
30
Assuming you want to enter this comment into your code and have it reflect the date you entered it, you could set up an OKL like
ON KEY LABEL SHIFT+F1 keyboard ("*" + DTOC( DATE()) + "NCA")
Then pressing Shift+F1 will give you what you want.

>I'd like to accomplish the following:
>Somehow make the comment string dynamic. For example, I'd like a portion of my comment string to always include the current date along with my initials...something like this:
>
>* - 10/20/01 NCA
>
>Any ideas? I've tried entering '* - ' + DTOC(DATE()) + 'NCA' as well as a few other combinations, tried EVAL(), etc...no banana.
>
>The end result is that VFP always preprends an asterisk to whatever I enter and the functions are ignored.
>
>Thanks,
>Clay
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform