Access VBA update recordset error
From: cityofgp (cityofgp_at_discussions.microsoft.com)
Date: 10/28/04
- Next message: Daniel Crichton: "Re: Problem to see specific Data in Excel Cell via VB6"
- Previous message: Apple: "Re: Indexing a Table"
- Next in thread: Victor Koch: "Re: Access VBA update recordset error"
- Reply: Victor Koch: "Re: Access VBA update recordset error"
- Reply: Brendan Reynolds: "Re: Access VBA update recordset error"
- Reply: Val Mazur: "Re: Access VBA update recordset error"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 28 Oct 2004 09:25:05 -0700
Using ADODB.recordset and connection, I can successfully update records using:
rs![field1] = "blah"
rs.update
However, when I have a field name with a space as follows:
rs![field 1] = "blah"
rs.update
I get a syntax error message.
How can I update fields that have spaces in the field name? What syntax do I
use?
TIA.
- Next message: Daniel Crichton: "Re: Problem to see specific Data in Excel Cell via VB6"
- Previous message: Apple: "Re: Indexing a Table"
- Next in thread: Victor Koch: "Re: Access VBA update recordset error"
- Reply: Victor Koch: "Re: Access VBA update recordset error"
- Reply: Brendan Reynolds: "Re: Access VBA update recordset error"
- Reply: Val Mazur: "Re: Access VBA update recordset error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|