A1VBCode Forums

Drop Down Menus


http://a1vbcode.com/vbforums/Topic28344.aspx

By WikusHeyns - 11/8/2009

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.

By Fritslet Louis - 12/2/2009

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