Jul 9, 2008

Setting Access Report Recordsource To A Filtered Recordset

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > VB Programming

free web hosting

Setting Access Report Recordsource To A Filtered Recordset

kvarnerexpress
Hi,

in my Access application on Report_Open of a report.

I do some manipulations to a recordset.
Now i want to be able to update the recordsource of my report with the recordset i just worked on. I get an error type mismatch

me.recordsource = filteredRs

I have tried several other ways. If anyone can please help me.

Reply

Tyssen
I've found it's generally quite useful to post a portion of your code and the full error message when asking a question of this nature. It's pretty hard to narrow it down with such limited information.

Reply

Galahad
I know I'm a bit late to reply (just 12 days or so), but let me try and help without your code... Offcorse, if you haven't solved the problem yet...

Type mismatch error usualy means that you are trying to assign variable of one type to the variable of the other type. Now, I'm pretty sure that's not the case here... Try to put SET in front of this line, so it would look something like

CODE

 Set Me.Recordsource = filteredRs


This might also do the trick. If it doesn't, post a small portion of your code, as well as declarations for filteredRS, and what type is Recordsource property...

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. visual basic record source for report - 4.21 hr back.
  2. record source record set - 6.05 hr back.
  3. access report recordsource - 12.20 hr back.
  4. recordsource report - 24.64 hr back.
  5. report record source - 34.62 hr back.
  6. access recordset recordsource - 69.17 hr back.
  7. access report recordsource set - 115.99 hr back.
Similar Topics

Keywords : setting, access, report, recordsource, filtered, recordset

  1. Can Vb Program Link Access 2000 In My Website?
    (3)


      Looking for setting, access, report, recordsource, filtered, recordset

Searching Video's for setting, access, report, recordsource, filtered, recordset
advertisement



Setting Access Report Recordsource To A Filtered Recordset



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE