Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a macro that uses a function
Message
 
To
31/10/2002 12:50:24
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00717412
Message ID:
00717415
Views:
18
>I want to set up a macro so that when I hit that particular key combo it will insert my initials and today's date into my code. How can I do that?
>
>Thanks,
>Elyse
on key label ALT+A do SetNameAndDate with lcMyName,date()

procedure SetNameAndDate(lcName,ldDate)
Myform.txtName.value=lcMyName
MyForm.txtDate.Value=ldDate
endproc
HTH
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform