Re: update table with the word Null
- From: "Joe T" <mail@xxxxxxxx>
- Date: Thu, 20 Sep 2007 11:57:29 -0400
Bob,
I used your suggestion and still get type mismatch.
UPDATE projects
SET floorplan = "Null"
WHERE floorplan = ""
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'UPDATE'
Joe T
.
Use the Access Query Builder to generate sql statements until you are
comfortable writing them yourself
Joe T wrote:
UPDATE Projects (floorplan)
SET floorplan = 'Null'
WHERE floorplan = ''''
I tested and receive:
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'projects'
Any one know why I receive error?
Yes. It's because the syntax is incorrect. Assuming the name of the
table is "Projects", the correct syntax is:
UPDATE Projects
SET floorplan = 'Null'
WHERE floorplan = ''''
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
- Follow-Ups:
- Re: update table with the word Null
- From: Bob Barrows [MVP]
- Re: update table with the word Null
- References:
- update table with the word Null
- From: Joe T
- Re: update table with the word Null
- From: Bob Barrows [MVP]
- Re: update table with the word Null
- From: Joe T
- Re: update table with the word Null
- From: Joe T
- Re: update table with the word Null
- From: Bob Barrows [MVP]
- update table with the word Null
- Prev by Date: Re: how to open a web page and logon?
- Next by Date: populate table with results of query
- Previous by thread: Re: update table with the word Null
- Next by thread: Re: update table with the word Null
- Index(es):