I have a query that is removing the first record from the tables each time I close it.
Background on what I'm doing. I have created a query and a form that I'm using to input the criteria into that query. When the user hits run it opens the query and displays the criteria they inputted.
The issue I'm running into is whenever the user leaves a text field blank on the form the query is suppposed to treat that as NULL and return everything. I'm doing that using this (Like [Forms]![myForm].[myCriteria] & "*"). It works fine until the user closes Access and upon opening it again, it will have the criteria in the first row of the table blank.
On the form I have two text boxes (textbox1 and textbox2) both are from two different tables. If the user will leave textbox1 blank, run the query, closes Access and then reopens it. The record associated with textbox1 will be blank in it's perspective table but only in the first row. Not entirely sure why this is happening
I tried to be clear as possible, let me know if there was any confusion or if any other information is needed.
EDIT
I'll try to expand a bit more.
There are 3 tables that all have records. Some of these records are used for criteria when the query runs.
Table1 will have the Component, Table2 will have the Status, Table3 will have other records that isn't necessary for the criteria but still shows when the query runs
The Component and Status are what should be used as the criteria for the query and the User will type that into textbox on a form that will then open the query. If the user leaves a textbox blank for either the Component or Status it should show all Components or all Statuses from the tables when the query runs. It does that but after you close and then reopen Access the Component field or the Status field in their respective tables will be blank but only on the first row of that table