mamradzelvy
Member
- Local time
- Today, 05:07
- Joined
- Apr 14, 2020
- Messages
- 145
Hi,
I'm getting said error when trying to navigate to a record within a form based on matching dates, i don't understand why though, as I have the date format displaying the same way on both forms and same for the table where the records are saved.
Any tips?
This is the code that's giving me errors, the lstInvetory has got it's date from my db via SQL
where the date column (TabDate) has it's format property set to General Date.
The text box on th go-to form which i want to open to a specific record, has it's format property set to General Date.
I'm getting said error when trying to navigate to a record within a form based on matching dates, i don't understand why though, as I have the date format displaying the same way on both forms and same for the table where the records are saved.
Any tips?
Code:
Private Sub lstInventory_DblClick(Cancel As Integer)
DoCmd.OpenForm "formEditTabule", , , "TabDate = '" & Me.lstInventory & "'"
End Sub
This is the code that's giving me errors, the lstInvetory has got it's date from my db via SQL
Code:
SELECT Tabule1.TabKlient, Tabule1.TabOsoba, Tabule1.TabItem, Tabule1.TabQty, Tabule1.TabNote, Tabule1.TabAddedBy, Tabule1.TabDate, Tabule1.TabStatus
FROM Tabule1;
The text box on th go-to form which i want to open to a specific record, has it's format property set to General Date.