IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Setting Access Report Recordsource To A Filtered Recordset


kvarnerexpress
no avatar
Super Member
*********
Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



Post #1 post Apr 27 2005, 12:43 AM
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.
Go to the top of the page
+Quote Post
Tyssen
no avatar
***********
Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



Post #2 post May 11 2005, 08:28 AM
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.
Go to the top of the page
+Quote Post
Galahad
no avatar
Neurotical Squirrel
*********
Group: [HOSTED]
Posts: 590
Joined: 4-November 04
From: Novi Sad, Vojvodina
Member No.: 2,127



Post #3 post May 23 2005, 04:36 PM
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...
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   0 noxit 2,524 20th June 2004 - 02:06 PM
Last post by: noxit
No New Posts 4 A200 269 12th December 2008 - 04:32 AM
Last post by: iG-yogasagar
No New Posts 3 zip_mc 523 3rd August 2004 - 04:48 AM
Last post by: X3r0X
No New Posts   4 odomike 426 12th August 2004 - 05:20 AM
Last post by: odomike
No New Posts   3 bttfpromo 360 14th August 2004 - 03:46 AM
Last post by: OpaQue
No New Posts   2 err 514 2nd January 2009 - 07:07 AM
Last post by: triplebtalk
No New Posts   2 Eric Straven 388 8th September 2004 - 02:57 PM
Last post by: ZorBiX
No New Posts   1 deejames 444 5th October 2004 - 07:38 PM
Last post by: alperuzi
No New Posts   0 anwiii 674 14th June 2006 - 08:44 AM
Last post by: anwiii
No New Posts   3 Albus Dumbledore 388 30th June 2006 - 05:07 PM
Last post by: serverph
No New Posts   2 Inty 384 3rd October 2004 - 11:17 AM
Last post by: mobileunlocking
No New Posts   5 -prodigy- 354 6th October 2004 - 06:37 AM
Last post by: -prodigy-
No New Posts   5 broadway 917 30th June 2008 - 05:38 PM
Last post by: serverph
No New Posts   11 Becca 890 8th December 2004 - 01:30 PM
Last post by: Zenchi
No New Posts   3 s2city 394 10th October 2004 - 07:44 PM
Last post by: s2city


 



RSS Open Discussion Time is now: 8th January 2009 - 09:29 AM