Binding Access controls to fields in ADO recordsets
From: Bill Leddy (Leddy_at_discussions.microsoft.com)
Date: 08/30/04
- Next message: ipsenfixer: "meter useage problem"
- Previous message: Brendan Reynolds: "Re: Access 97 (dao) to 2003 (Ado)"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 30 Aug 2004 09:25:02 -0700
How do you bind a control on an Access form to a field in an ADO recordset
which has no backend or underlying table?
Using Visual Basic, I have:
Created a NEW ADO recordset
Appended fields
Opened the recordset
Added rows of data
In the Access form, I have bound the form to the recordset by setting the
recordset property of the form.
I can navigate the recordset using the form. In the Visual Basic
environment, I can examine the properties of the recordset and see the values
change as I move from record to record.
When I try to set the controlsource of a textbox on the form to the name of
a field in the recordset, "#Error" is displayed in the text box on the form.
- Next message: ipsenfixer: "meter useage problem"
- Previous message: Brendan Reynolds: "Re: Access 97 (dao) to 2003 (Ado)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|