Query results in Form

P

PsyberFox

Hi,

I have created an input form, which gives input parameters to a query
extracting a range of records based on date input. The results of this query
is then directed to another form, which I've set up as a subform / subreport
and set the data properties to the query. However, when running this it asks
for the input parameters twice, I guess because I'm supposed to link the form
fields to the query fields, but cannot see where / how... please help!

Thank you!
 
P

PsyberFox

This will work perfectly for a report, but I need the actual query (as in
table format) to open in the "new" form, where the user then has the ability
to edit records...
 
A

Allen Browne

You could create a form in Datasheet view (so it looks like the table).

Then OpenForm, with the WhereCondition -- just as shown for the report.

If you need th form to load all records (not just filtered to the one), pass
the criteria in OpenArgs, and use the form's Load event to FindFirst in its
RecordsetClone and assign the Bookmark.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top