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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MaskEdBox Problems

Status
Not open for further replies.

xerife007

Technical User
May 7, 2002
40
PT
Hi forum,
I have this code, but don't appear nothing in my form.maskedbox :

The properties are correct??

Set frmProcesso1.MaskEdBox1(4).DataSource = adoPedAvaliaRs
frmProcesso1.MaskEdBox1(4).DataField = "Dt_recep_ped"
if i chage frnProcesso1.MaskEdBox1(4).DataField = adoPedAvaliaRs!Dt_recep_ped
Gives a error :"Invalid use of NULL"


thanks
pjm
 
I believe that the .datasource property needs to be filled with a data control and not a recordset. The data control can be bound to a recordset.

Try assigning the value you want to the maskedboxes .text property.

frmProcesso1.MaskEdBox1(4).Text= adoPedAvaliaRs![Dt_recep_ped]
Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top