N
Nathan Sanders
Hi,
Following is the code fo a command button I have on a form. I am trying to
get the contents of LIST9 into the TRN_PAY field in my TRANSACTIONS table
but I am getting a NULL instead. What am I doing wrong.
Private Sub Command43_Click()
Dim dbc As Database
Dim rstt As Recordset
Set dbc = CurrentDb()
Set rstt = dbc.OpenRecordset("transactions")
rstt.AddNew
rstt![TRN_DATE] = #12/31/2004#
rstt![TRN_DOC] = "dc"
rstt![TRN_PAY] = Me.List9
rstt.Update
Following is the code fo a command button I have on a form. I am trying to
get the contents of LIST9 into the TRN_PAY field in my TRANSACTIONS table
but I am getting a NULL instead. What am I doing wrong.
Private Sub Command43_Click()
Dim dbc As Database
Dim rstt As Recordset
Set dbc = CurrentDb()
Set rstt = dbc.OpenRecordset("transactions")
rstt.AddNew
rstt![TRN_DATE] = #12/31/2004#
rstt![TRN_DOC] = "dc"
rstt![TRN_PAY] = Me.List9
rstt.Update