I have the following DateSerial command in access:
DateSerial(Year(DateSerial(Year(Now()),Month(Now()),1)-1)-1,1,1) And DateSerial(Year(Now())-1,Month(Now()),1)-1
I need to convert it to work in a SQL server view.
I am using this IIF statement on a field called department.
Like IIf(IsNull([Forms]![frmTrainingHoursLess40]![cboDepartment]),"*",[Forms]![frmTrainingHoursLess40]![cboDepartment])
but I also need it to return the records even if the deparment field is null.
I need that does something like this
< = Like IIf(IsNull([Forms]![frmTrainingHoursLess40]![TextHours]),"*",[Forms]![frmTrainingHoursLess40]![TextHours]))
or this
Like IIf(IsNull([Forms]![frmTrainingHoursLess40]![TextHours]),"*",<=[Forms]![frmTrainingHoursLess40]![TextHours]))
If I execute a stored procedure that accesses a table on another database. I get an error that I have no permissions on the other database. Is there a way to run the procedure without the permission?
I have 2 columns in an excel spreadsheet. I want to match the first column to a (primary key) column in a SQL table and then update the field in the table with what's in the second column of the excel spreadsheet. Is there a way to do this and what is that way???
I have a report that grouped by 2 fields. When I added a third field to group on. It shows the first group header before the detail records, but it also shows the third group header before the detail records and then again where it is supposed to show up. How do I get rid of it showing up before...
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.