ciberwritter
03-02-2006, 06:44 AM
Hello .
I have have a form e a Vb aplication, in this form i show a datagrid with all th records in a table.
My database is access, inside I created a report that must receive the id of the record to show the data related to the record.
On the form i have a print button, wich on clik it must open the report in access with the data from the record selected on the data grid.
Does anyone knows how can i pass the id of the record selected in the data grid to the query in access?
Thanks for the help.
Alberto Almeida
I have have a form e a Vb aplication, in this form i show a datagrid with all th records in a table.
My database is access, inside I created a report that must receive the id of the record to show the data related to the record.
On the form i have a print button, wich on clik it must open the report in access with the data from the record selected on the data grid.
Does anyone knows how can i pass the id of the record selected in the data grid to the query in access?
Thanks for the help.
Alberto Almeida