Trying to do the following:
Filter records to show only those whose "End_Date" is equal to or greater than today. This will be set on the form properties.
I've tried the following:
End_Date>=Today()
End_Date>=Now()
End_Date>=Date()
All of the above with #End_Date#, and all of the above with...
I'm not sure how to go about this... I need to find the row.id of text in a cell COMMENT that matches a string.
Dim Rng2 As Range
If Trim(strTCrsName) <> "" Then
With Sheets("Transcript").Range("Q1:Q100")
Set Rng2 = .Find(What:=strTCrsName, _...
TM and TY are temporary strings pulling a formatted Month and Year from hidden columns on a combo box.
Filtering the year OR month only works just fine, but the string below with "AND" throws a runtime error 13 type mismatch.
strWhere = "Month([Expense_Date])=" & TM
'^ Works fine
strWhere =...
This bit of code will search a text field and display matching records. It will search forrecords that contain multiple keywords, in any order.
Form/table items:
btnSearch-Button to initiate search
btnSearchClear-Button to show all records/clear search
txtSearch-Unbound text box, no default...
Here's the info:
tblShop_Names
Shop_Name
Shop_Code
Locked - Yes/No
Locker - Text (used to store username)
I've written the following code: 'check if shop is locked
If Me.Locked.Value = 0 Then
'open shop_form And [Shop_Code] = 502, load global variable
DoCmd.OpenForm "Shop_Form", acNormal, ...
Trying to prevent a duplicate record from being added by the following logic:
"If there arent any records that already have the same start date and shop code, allow record creation"
In the Roster_Data table, [Start_Date] is a date and [Shop_Code] is a Long.
sDate and sCode are pulling data...
Here is the basic data model & background info:
-12 different work centers, each with distinct information
-Weekly recurring shifts with up to three employees per week (simple friday-friday, no issue with holidays/time off)
-Ability to generate a weekly roster report of workcenter supervisor...
Here is the basic data model & background info:
-12 different work centers, each with distinct information
-Weekly recurring shifts with up to three employees per week (simple friday-friday, no issue with holidays/time off)
-Ability to generate a weekly roster report of workcenter supervisor...
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.