DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Question about Implementing Foxpro Date function

  1. #1
    Join Date
    Jan 2007

    Question about Implementing Foxpro Date function

    Hi Experts,

    I urgently need help implementing the Date in an application that I am working on. There is a button which on clicking should automatically update the Date of Birth.
    How do I get this coded and get it to work.
    Attached are a few shots of what I need help with.
    Thanks for your help.

    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2006
    Chennai, India
    to get the current date in VB you can use the same Date variable as in ForPro
    MsgBox Date
    MsgBox Format(Date, "dd/MM/yyyy")
    ...Since I do not have enough rights to view attachements in my office pc, could you please explain what you need and if possible some codes...

  3. #3
    Join Date
    Oct 2005
    Do u want it to be calculated when calling it only ?
    U may just store the birth-date and when I ask about the old u should make daydiff() between this stored value and now()
    hope this helps .

Similar Threads

  1. Replies: 0
    Last Post: 10-23-2006, 03:03 AM
  2. Search System Tray
    By MyPlague in forum .NET
    Replies: 2
    Last Post: 03-20-2006, 06:18 PM
  3. Packed Data(Comp-3, etc)
    By Marcos in forum VB Classic
    Replies: 3
    Last Post: 01-25-2006, 12:18 PM
  4. Replies: 4
    Last Post: 08-28-2005, 04:16 PM
  5. AnimateWindow API
    By Tim Manos in forum VB Classic
    Replies: 4
    Last Post: 10-19-2001, 06:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center