Re: Access VBA update recordset error
From: cityofgp (cityofgp_at_discussions.microsoft.com)
Date: 10/28/04
- Previous message: cityofgp: "Re: Access VBA update recordset error"
- In reply to: Victor Koch: "Re: Access VBA update recordset error"
- Next in thread: Brendan Reynolds: "Re: Access VBA update recordset error"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 28 Oct 2004 10:53:02 -0700
When I try rs("[field 1]") I get a compile error.
"Victor Koch" wrote:
>
> 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.
> >
>
>
>
- Previous message: cityofgp: "Re: Access VBA update recordset error"
- In reply to: Victor Koch: "Re: Access VBA update recordset error"
- Next in thread: Brendan Reynolds: "Re: Access VBA update recordset error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|