Creating a Form-Based Parameter Query (1 Viewer)

FilasLam

New member
Local time
Today, 20:27
Joined
Jul 20, 2022
Messages
11
I've been trying to create a form-based parameter query using videos on youtube. After several tries, while coping the video correctly, it still won't work. In the video's when done making the query, it works like it's supposed to. But when I run the query, it doesn't show any data. Does anyone know how to help me? Thanks in advance.

Some of the video's I used for reference:

 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 02:27
Joined
May 7, 2009
Messages
19,231
you upload the db you are working right now.
maybe something to do with the correct "syntax".

all your videos are correct.
 

FilasLam

New member
Local time
Today, 20:27
Joined
Jul 20, 2022
Messages
11
you upload the db you are working right now.
maybe something to do with the correct "syntax".

all your videos are correct.
 

Attachments

  • Database registratie formulieren test Data.accdb
    1.6 MB · Views: 85

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 02:27
Joined
May 7, 2009
Messages
19,231
what version you may have?
anyway, on your demo, form "Formulier ophalen test 47".
notice in design view of your combobox "test 46", the Bound Column = 1, meaning
the 1st Column from your Row Source (which is [Overzicht].[Id]) (from "Select [Overzicht].[Id], ...").
on your query "Query1 test 47", you set the Criteria to ID (since the combo is saving the ID).
see the form and the Query.
 

Attachments

  • Database registratie formulieren test Data.accdb
    1.6 MB · Views: 91

FilasLam

New member
Local time
Today, 20:27
Joined
Jul 20, 2022
Messages
11
I finally understand what went wrong the whole time. Thank you! It's Access 365 (version 2206) btw.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 02:27
Joined
May 7, 2009
Messages
19,231
t's Access 365 (version 2206) btw.
i asked because i have 2021 and if you have lower version and i make correction you might not be able to open the db.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 14:27
Joined
Feb 19, 2002
Messages
43,213
.accdb's are compatible back to 2007 provided you haven't used any specific feature that wasn't available in an earlier version.
 

Users who are viewing this thread

Top Bottom