J
Jose Perdigao
I would like to show the data from a recordset in a query.
Is it possible? how can i do?
thanks,
JP
Is it possible? how can i do?
thanks,
JP
Jose said:I create a recordset using for example the following code
Dim rec As ADODB.recordset
DIM strSQL as String
Set rec = New ADODB.recordset
strSQL ="SELECT * FROM Customers
rec.Open strSQL, CurrentProject.Connection
-- now I need the code to show the data existing in rec (rec - recordset) in
a query or in a form
What can I do?
Use alias names for the fields, bind these aliases to your controls.Jose said:I know this code, it works if the there is textbox and if the cotrolsource is
matching with the fields of recordset.
That's why, i ask to show the recordset in queries
Don't use the * in your SQL statment.By another words, how can I show the recordset if the fields of recordset is
changing (names and number of the fields)?
Is it possible?
Same trick. Use aliases.Question.
How can I bound a recordset to a chart in MS Access 2003?