Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MaskedEdit Control

Status
Not open for further replies.

svm

Programmer
Apr 26, 2001
44
US
Hi.
I tried doing the masked and during data entry the entry is appearing on the screen. My problem is how do I save the value of the Masked Edit Control to a table field name ExpDate. Appreciate any help you can give. Thanks.

 
I have not receive any message. Please repost again. thanks.
 
umm, assuming you already have the database/table/recordset open, and the name of your mask edit box is mebExpDate....

rs!ExpDate = mebExpDate

you're gonna have to get a little more exact on the question if that's not what you're looking for.
 
It didn't work. I define a mask edit box (MaskEdBox1) with a caption of Exp Del Date. Users entering date in here with format mm/yy. After she entered this should be saved in a table with a field name called expdate.
 
Which part of your code didn't work? You should be able to save a maskedbox to your table assuming it is in a recordset the same way as a textbox. Did you check the datatype the field you are saving to? If the user didn't didn't put a date in the format (mm/yy) the maskedit will try to save "__/__" to which you need error handeling.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top