DrillMonkey
Technical User
Hi, I need help in form design. The form will be multi-user (2) people and needs to have a lot of room for data input. I was thinking of using a main form with just a few controls i.e. “Date” “User” “Recordid” “Ship to” and “TotalParcels” Then have a sub form handle the data entry “Description” “PurchaseOrder” “Requisition” “StoreOrder” “TicketNumber” “Memo” and “Parcels” the user would fill in the main form first then jump into the sub form and fill in the rest.
**********************************************************
sub form
Description PurchaseOrder Requistion StoresOrder
Buyouts 864r12012 86402222 64s2258
Stores 864t00122 86402369 64s9966
Repair
***********************************************************
Is this a soild approach? I guess my question is will this create multiple records or just one? I would like it to create just one record so i could print with this type of code
**********************************************************
sub form
Description PurchaseOrder Requistion StoresOrder
Buyouts 864r12012 86402222 64s2258
Stores 864t00122 86402369 64s9966
Repair
***********************************************************
Is this a soild approach? I guess my question is will this create multiple records or just one? I would like it to create just one record so i could print with this type of code
Code:
Private Sub cmdPrint_Click()
Dim strWhere As String
If Me.Dirty Then 'Save any edits.
Me.Dirty = False
End If
If Me.NewRecord Then 'Check there is a record to print
MsgBox "Select a record to print"
Else
strWhere = "[ID] = " & Me.[ID]
DoCmd.OpenReport "MyReport", acViewPreview, , strWhere
End If
End Sub