Re: Access VBA update recordset error
From: Victor Koch ("Victor)
Date: 10/28/04
- Next message: Stan the Mouse: "How to Write into Excel"
- Previous message: Daniel Crichton: "Re: Problem to see specific Data in Excel Cell via VB6"
- In reply to: cityofgp: "Access VBA update recordset error"
- Next in thread: cityofgp: "Re: Access VBA update recordset error"
- Reply: cityofgp: "Re: Access VBA update recordset error"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 28 Oct 2004 13:54:20 -0300
rs("[field 1]") = "blah"
rs.update
-- Víctor Koch. "cityofgp" <cityofgp@discussions.microsoft.com> escribió en el mensaje news:FB8B3D87-5187-44A8-A150-4609ED660939@microsoft.com... > 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: Stan the Mouse: "How to Write into Excel"
- Previous message: Daniel Crichton: "Re: Problem to see specific Data in Excel Cell via VB6"
- In reply to: cityofgp: "Access VBA update recordset error"
- Next in thread: cityofgp: "Re: Access VBA update recordset error"
- Reply: cityofgp: "Re: Access VBA update recordset error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|