Oct 9, 2007 #1 Malc8179 MIS Joined Oct 8, 2007 Messages 28 Location GB Hi Guys im trying to change a reports recordsource from a bit of code im using Reports!GND37R01.RecordSource = "qrygnd37r01" and i get a runtime error 2451 any thoughts
Hi Guys im trying to change a reports recordsource from a bit of code im using Reports!GND37R01.RecordSource = "qrygnd37r01" and i get a runtime error 2451 any thoughts
Oct 9, 2007 #2 robcarr Programmer Joined May 15, 2002 Messages 633 Location GB have you tried me.RecordSource = "qrygnd37r01" just a thought Hope this is of use, Rob. Upvote 0 Downvote
Oct 9, 2007 #3 robcarr Programmer Joined May 15, 2002 Messages 633 Location GB i was close it should be like me.RecordSource = "SELECT * FROM [qrygnd37r01]" should work. Hope this is of use, Rob. Upvote 0 Downvote
i was close it should be like me.RecordSource = "SELECT * FROM [qrygnd37r01]" should work. Hope this is of use, Rob.
Oct 9, 2007 Thread starter #4 Malc8179 MIS Joined Oct 8, 2007 Messages 28 Location GB Thanks worked well Upvote 0 Downvote