silentwolf
Active member
- Local time
- Today, 11:58
- Joined
- Jun 12, 2009
- Messages
- 644
Hi guys,
can't find the post and was wondering if someone can tell me if that code is correct?
I have a main form in the header I have a button.
in the detail secton I have a subform.
This is the code I am useing.
Ths subformn is a continious form.
So could someone tell me if that is correct or is there a better way of doing this?
sorry it is a datasheet subform!!
Many thanks
can't find the post and was wondering if someone can tell me if that code is correct?
I have a main form in the header I have a button.
in the detail secton I have a subform.
This is the code I am useing.
Code:
If IsNull(Me!sfmAllCustomers!CustID) Then
MsgBox "Bitte wählen Sie zunächst einen Datensatz aus."
Exit Sub
End If
DoCmd.OpenForm "frmCustomers", datamode:=acFormEdit, _
WindowMode:=acNormal, _
WhereCondition:="CustomerID=" & Me!sfmAllCustomers!CustomerID 'Sollte passen??
Me.Requery
Ths subformn is a continious form.
So could someone tell me if that is correct or is there a better way of doing this?
sorry it is a datasheet subform!!
Many thanks