I have the following SQL Query
datinfo.RecordSource = "SELECT * FROM Records WHERE ID = = '" &
txtSName.Text & "'"
Records.ID is a field from a database created through the Visual Manager in
VB. This field is set to Long. I had to pick this one because it is the
only field in the Visaul DataManager that can be incremented automatically.
The field the txtID.Text is retrieving its information from through the DAO
data control is also set to long for the same reason.
How do I change the data types of either/both of these so that the query
will work?
Is this even the right approach to take?
Thank you all
datinfo.RecordSource = "SELECT * FROM Records WHERE ID = = '" &
txtSName.Text & "'"
Records.ID is a field from a database created through the Visual Manager in
VB. This field is set to Long. I had to pick this one because it is the
only field in the Visaul DataManager that can be incremented automatically.
The field the txtID.Text is retrieving its information from through the DAO
data control is also set to long for the same reason.
How do I change the data types of either/both of these so that the query
will work?
Is this even the right approach to take?
Thank you all