Guest_imported
New member
- Jan 1, 1970
- 0
Does anyone know how to take the contents from a field and assign it to a variable?
I have tried using a SELECT TOP 1 Query, but it won't assign it as I only want the ID number of a record, and that is a primary key.. So the types are wrong!.. I have tried using a recordset.. But again a similar problem.. It could just be me.. But if anyone can help me with the appropriate format, or at least another suggestion then that would be great!
Cheers.
I have tried using a SELECT TOP 1 Query, but it won't assign it as I only want the ID number of a record, and that is a primary key.. So the types are wrong!.. I have tried using a recordset.. But again a similar problem.. It could just be me.. But if anyone can help me with the appropriate format, or at least another suggestion then that would be great!
Cheers.