A
Arpan
Assume that a MS-Access table has 3 columns - UID (AutoNumber), FName
(Text) & LName (Text).
When I run the following query in MS-Access
PARAMETERS UID Long;
SELECT UID, FName, LName
FROM tblUsers
WHERE UID=UID
Access first prompts me to enter a value for the input parameter 'UID'.
Irrespective of the value I I supply as the UID, Access should retrieve
only one row since UID is unique in the table but Access retrieves all
the records instead.
Where am I erring?
(Text) & LName (Text).
When I run the following query in MS-Access
PARAMETERS UID Long;
SELECT UID, FName, LName
FROM tblUsers
WHERE UID=UID
Access first prompts me to enter a value for the input parameter 'UID'.
Irrespective of the value I I supply as the UID, Access should retrieve
only one row since UID is unique in the table but Access retrieves all
the records instead.
Where am I erring?