Whenever I open my form my computer goes into some kind of a loop and I have to force access to close. The problem I think is in the following code...
Private Sub name_Change()
If IsNull(Form![directory Name]) Then Me![directory Name] = Me![name]
End Sub
What I want to do is when the value of “name” is changed IF “directory name” is empty to copy the value of name to it. What is the best way to do this? Why is my code locking up my computer?
Thanks for the help.
Tim
Private Sub name_Change()
If IsNull(Form![directory Name]) Then Me![directory Name] = Me![name]
End Sub
What I want to do is when the value of “name” is changed IF “directory name” is empty to copy the value of name to it. What is the best way to do this? Why is my code locking up my computer?
Thanks for the help.
Tim