silentwolf
Active member
- Local time
- Today, 09:59
- Joined
- Jun 12, 2009
- Messages
- 655
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.RequeryThs 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
 
	 
 
		