English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi I have to set the Recordsource property of a Report in Access at runtime. However when i run the code. Its giving me a runtime error '2191' saying "You cant set the Record Source property in print preview or after printing has started.

Kindly let me know how do I set the recordsource property at runtime

Regards,
Vikram.

2007-03-13 19:42:31 · 1 answers · asked by Anonymous in Computers & Internet Programming & Design

1 answers

If I recall correctly, setting the property on the Report_Open() before the page is rendered is possible. If that does not work set the Recordset property (with an ADO.Recordset)

2007-03-13 21:05:31 · answer #1 · answered by BataV 3 · 0 0

fedest.com, questions and answers