K
Kevin McBrearty
I have a module with the following if statment:
If Not rstStr.EOF Or rstMftr.EOF Or rstDistbr.EOF Then
I added a watch for all three recordsets and EOF is true for all three of
them; however, it is evaluating the if statement as true.
The second problem I have is I am opening a form that lists the records that
have a duplicate store id for the user to resolve the conflicts. On the form
I want the user to click on continue then for it to check and see if new
values that were enter will conflict with any of the other store id's. I
thought an easy way to do this would be to have the query refresh and then
display any new confilcts if they exist. If not close the form and continue
with the rest of the code. I tried to refresh the data on the form but that
didn't work. One thing I would like to mention is that it needs to be this
way. This is part of the code that synchronizes the database. If I made the
store id unique it would cause other problems. If the remote user added a new
store, manufacturer, or distrubutor with a duplicate Id. The key field for
these tables is a random autonumber.
Any help you could provide would be appreciated.
Thank you,
If Not rstStr.EOF Or rstMftr.EOF Or rstDistbr.EOF Then
I added a watch for all three recordsets and EOF is true for all three of
them; however, it is evaluating the if statement as true.
The second problem I have is I am opening a form that lists the records that
have a duplicate store id for the user to resolve the conflicts. On the form
I want the user to click on continue then for it to check and see if new
values that were enter will conflict with any of the other store id's. I
thought an easy way to do this would be to have the query refresh and then
display any new confilcts if they exist. If not close the form and continue
with the rest of the code. I tried to refresh the data on the form but that
didn't work. One thing I would like to mention is that it needs to be this
way. This is part of the code that synchronizes the database. If I made the
store id unique it would cause other problems. If the remote user added a new
store, manufacturer, or distrubutor with a duplicate Id. The key field for
these tables is a random autonumber.
Any help you could provide would be appreciated.
Thank you,