I am trying to see if a customer ID is already in the table before adding a new one...
This is what I have so far...
Set dbs = CurrentDb()
Set rst = dbs.OpenRecordset("Customer Data")
If Me![CustAcctID] = rst![CustAcctID] Then
MsgBox "This Customer...
We are on the right track, however,we are no longer getting an error message (it is compiling properly). However, it is not updating the fields in the table? What step are we missing?
Thanks!
How do you use a select case statement when using a recordset or is this possible? We are getting a data type mismatch error and are unsure why?
This is the code we have thus far:
Private Sub Product_Update()
Dim dbs As DAO.Database
Dim rstCD As DAO.Recordset
Dim strsql As String
'Select...
We are trying to write a query that will give us just one instance of an order,however, the other fields associated with this order and not the same.
Ex. We have multiple sales orders and each of these sales orders has a different engineering order.
How do we show just one instance of the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.