Results 1 to 2 of 2
2004-05-16, 06:54 #1
- Join Date
- Jun 2002
- Thanked 0 Times in 0 Posts
update from another form (Access 2000)
Why i cannot update from another form? I have an update function called UpdateData that works otherwise,but not from another form.
Why is it so?
I am trying to update tables from the form F1.There i have the following code :
DoCmd.OpenForm " F2"
I have also applied the OnOpen function, and in my UpdateData function i also have the following condition:
Dim strDocName As String
strDocName = "F2"
If IsOpen(strDocName) = True Then
Obviously it is not enough.
Can somebody help me ?
The reason why i must use two forms is rather complicaed but i think it is not relevant to my question
2004-05-16, 12:09 #2
- Join Date
- Jun 2001
- Crystal Beach, FL, Florida, USA
- Thanked 37 Times in 36 Posts
Re: update from another form (Access 2000)
Read your message as if you were us and didn't know anything about your application or the UpdateData function. For one thing, the message said that the function "doesn't work". What does that mean? Does it get an error, does it update the wrong information, or does it just not do anything at all? Of course, without knowing what UpdateData does, even knowing this wouldn't help you much in determining why it doesn't work. Perhaps you could provide more information?