normally, we set date(now), then, my problem is how to set the format of date which like this, date( dd-mmm-yyyy), but the "dd" is get from user input "txtday" and the "mmm" is get from user input "txtMonth" and the "yyyy" is get from user input "txtYear".
so, can anyone help me pls?
User Profile
Collapse
-
how to set the format of date?
-
so , if the result is 4.99, but i oso want to use the "4" only .so what should i do?
oso use int() ? -
how to call out the "whole number" from "double"
my Q is like this,
i want to design a calculation which use the number user enter to "/" by 100.
so , offcouse the result mayb in double or integer.
after that my calculation just wanna user the "whole number" of the result to calculate other things. can anyone help me? thks.
For eg: 9 / 2 = 4.5
and i just wanna take the number "4" to calculate other calculation.... -
how to call out the data from database access?
my Q is like this, i let user to enter a number, then i wanna checking this number from database .
for eg: user enter "12" then i wanna pass to validate which in my database, in my database table have a field which is "Min","Max" and "Price". so this number "12" is fall in the row which "Min" is "10" and "Max" is "20" and the "Price" is "100".... -
-
are u connecting your VB to Database? if yes mayb is the name of your coding are not mach to your database field name.....*mayb only.Leave a comment:
-
ohh. thanks.
sorry that, i have another Q. it is like this , if i create a "textYear" for user to enter the year for eg:"2007" , the another "textMonth" for user to enter month for eg:"6". then the "label1" "label2" and so on, which i create to represent the day 1, day 2 of the month.
then if i want to detect the year and month which the user enter to textYear and...Leave a comment:
-
so, u mean i create a textbox then allow user to key in the date, after that where will display the day???
can i do like this? i create a DTPicker for user to choose the date and text1 to display the day eg:"2=Monday" , than after user choose the date(mean DTPicker_change ()), the text1 directly display the day.
if i want to do like this , how to do it?Leave a comment:
-
how to use "weekday"
have anyone can help me?
my Q is by using this "weekday" coding. how can i know the day when i key in the date.
for eg: " i key in 12/jun/2007, then the label directly display 3=Tue.
No activity results to display
Show More
Leave a comment: