Skip to content
Advertisement

Tag: ms-access

Why does “Enter parameter value” appears using INSERT INTO VALUES?

I’m always getting the “enter parameter value error” when I try to run this code. The error refers to idPat, idSP, idPar and measure_value. I have checked with the debug idPar, idPat, idSP and measure_value and they assume the correct value; the errors comes out when I run sql. Answer Your VALUES part is just text. What you need is:

SQL Distinct on One Column with NO ID

I have a problem where I need to select three columns from a table in Access to populate another table but it needs to be distinct on one column ONLY. I tried the GROUP BY as follows But when I use above with a SELECT INTO and check for duplicates there are some. I have looking at this post –

The Microsoft Access Database Engine Does not Recognize ‘[tbl_AssignmentDetails].[Position Name]’ as a valid field name or expression

I have created the below crosstab query off a find duplicates query. When I run it, I get the error message: “The Microsoft Access database engine does not recognize ‘[tbl_AssignmentDetails].[Position Name]’ as a valid field name or expression.” Any clues? Answer .. FROM [tbl_AssignmentDetails] As Tmp GROUP BY [Full Name],[Position Name] HAVING .. [Position Name] = [tbl_AssignmentDetails].[Position Name]))… Which table

Query ORDER with UNION

I have to do punt an “*” in a list of dates, like this: So, with my low knowledge, I created something like this code: where “*” is present in the table Union. But, the command ORDER doesn’t work and I’ve a sort system just by number, like the follow: How can avoid this? Thanks for the help Answer Thanks

Advertisement