How to Remove Filter and Stay on Same Record

  • Thread starter Thread starter doyle60
  • Start date Start date
D

doyle60

I need code that will remove the filter (the funnel light being on) and
keep on the same record. Currently, removing the filter makes the form
jump to the first record.

Thanks,

Matt
 
I need code that will remove the filter (the funnel light being on) and
keep on the same record. Currently, removing the filter makes the form
jump to the first record.

Look up the .Bookmark property in Help.


Tim F
 
Thanks. I got it to work.

I needed to change a line in my code from

stLink Criteria = "[CBID]=" & "'" & Me![CBID] & "'"

to

stLink Criteria = "[CBID]=" & Me!CBID]

This solved a "Data type mismatch in criteria Expression" error.

Thanks,

Matt
 

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

Back
Top