G
Guest
Hi,
How do I manipulate the recordsource and input parameters in VBA code?
I had been working on code to read stored procedure in SQL Server provide
parameters and fill a subform. I got it to work but it was NOT updateable.
As a proof of concept: I had used the properties pages to provide the sql
stored
procedure name to the recordsource property and a value for an input
parameter.
when I load the form with a subform it automatically loads a recordset that
is updateable, I updated some records and verified it in query analyser.
i played around with setting properties but I get zero records returned.
I think the .requery, .refresh, .repaint might be part of the anwer but
have'nt gotten them to work yet.
thanks
How do I manipulate the recordsource and input parameters in VBA code?
I had been working on code to read stored procedure in SQL Server provide
parameters and fill a subform. I got it to work but it was NOT updateable.
As a proof of concept: I had used the properties pages to provide the sql
stored
procedure name to the recordsource property and a value for an input
parameter.
when I load the form with a subform it automatically loads a recordset that
is updateable, I updated some records and verified it in query analyser.
i played around with setting properties but I get zero records returned.
I think the .requery, .refresh, .repaint might be part of the anwer but
have'nt gotten them to work yet.
thanks