I have the follwing code in access to find a record based on a combo box that the user picks:
strSearching = "MovieName = '" & [MovieNameComboBox] & "'"
Me.RecordsetClone.FindFirst strSearching
Me.Bookmark = Me.RecordsetClone.Bookmark
It works unless the name they are...
I have the follwing code in access to find a record based on a combo box that the user picks:
strSearching = "MovieName = '" & [MovieNameComboBox] & "'"
Me.RecordsetClone.FindFirst strSearching
Me.Bookmark = Me.RecordsetClone.Bookmark
It works unless the name they are...
I have two combo boxes on a form that the lets the user pick a value from each one.
There is a command button that says find and when the user clicks on that , it takes the two variables in the combo boxes and finds that record and displays it.
The following code keeps getting a syntax...
I am trying to sort some rows in a worksheet By Column I and then by Column L. There could be any number of rows when the person runs the macro. So that is never constant. I have the following code so far and I keep getting the error - "object doesn't support method."
- The A6 is...
Here is the problem.
I want to sort rows of information by a column using a macro.
The only problem is that there is no set of rows. One time there sould be 4 rows, another day there could be 45
I have the following code so far...
I would like to pull out all of the records that have the month = current month
The field I am checking for that is called NExtPAymentDate and it is a date/time field.
I only care if the month is equal to the month it is when they run the query.
I have tried :
LIKE Month(Now())
Like...
But how then do you compare to the current month.
I only want to print this report once a month. So I wouls have to check to see if the person owes money this month on the third.
If I am able to only use a query than the better.
Here is an example.
Say today I want to print a report of all the people that owe me money friday (March 2, 2001)
I want to look in the field called NextPaymentDueDate that is equal to 03/02/2001 - Everyone in the DB will have the same date...
I have a macro that I want to run that will loop through records (in a particular field) in a table and look for any that have the date MM/03/YYYY, where the month and the year is the current month and year, but it has to be the third of that month and year.
I have tried it with the now()...
I have the following code to assign the value of one cell to another (in a macro):
Worksheets("LOG").Cells(Counter, 5).Value = ws.Cells(iRow, 1).Value
The problem is that I want to assign the cell reference to the Log worksheet cell so that if someone changes the contents of the...
Can you have an autonumber in an access table (that is also the primary key) that starts at 1000 instead of one?
I have looked through the properties and can not find a way to do it!
THANKS
I use the following code to open up a workbook in a macro that I created:
Workbooks.Open "E:\DBTest.xls"
Set wbTemp = ActiveWorkbook
The problem is that if the workbook is already opened, an error occurs. IS there a way to use an IF statement so that if an error occurs, I send a...
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.