Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Classic Visual Basic (VB 6 or earlier) » Database Programming » Drop Down Menus


Drop Down MenusExpand / Collapse
Author
Message
Posted 11/8/2009 12:39:24 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/15/2009 10:11:28 PM
Posts: 1, Visits: 5
I am very new to Databases and are busy with my first database. However, in order for it to be practical for my use I would need to pre define inputs for certain fields. (January, Februay, March ...) 

In exsample the database I would like to create I need to input the Month in which a person's birth is when entering data from a drop-down list in the "BIRTHDAY" field.

I am using IB Expert and after reading for many hours I cannot see how to do this.

Post #28344
Posted 12/2/2009 11:24:13 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/2/2009 11:14:34 AM
Posts: 3, Visits: 4
Hi!
Did you know if VB has YEAR, MONTH,MONTHNAME, DAY,DAYNAME,TIME,SEC,.....?

DIM xx as string
xx = DatePart(DateInterval.Month, Now())
Me.Birthday_CombBox.Maximum = xx
' PS! Place this code @ loading

Thanks

Louis Fritslet
DBA admin, United Nations

Post #28466
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin, Mod, Mark, Keithuk

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 10:51pm