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

data in textbox is not visible

Status
Not open for further replies.

mordyb

Programmer
Nov 9, 2003
9
Hi all

I have a database that tracks what step in are workflow a project is in. on the form there are 5 buttons and 5 textboxes. The comand buttons are named cmdbtstep1, cmdbtstep2 through cmdbtstep5. The text boxes are txtstep1.

I have the following code attacted to the buttons

Private Sub cmdbtstep1_Click()
me.txtstep1 = Date
End Sub

all of them work except for the cmdbtstep3 code. When that is pushed the date is put in the text box but you can not see it. If you scroll to the next record and scroll back to it it becomes visible.

Does anyone know what is causing this problem. TIA.
 
try this

me!txtstep1 = format(now,"mm/dd/yy")

notice exclamation instead of period after "me"


DougP, MCP
 
thank you. That worked exect that I needed the . With the exclamaiton point it gave me an error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top