PC Review


Reply
Thread Tools Rate Thread

Delete data in Column

 
 
JB
Guest
Posts: n/a
 
      20th Jul 2006
Hello.
In this db someone has typed 'No Post' in around 350 records in the Address
column (instead of ticking the 'No Post' option)
I've run a query to select where is says 'No Post' and then an update to
try and delete but it won't accept nothing in the 'update to' box.
How can I delete this?
Thank you
J


 
Reply With Quote
 
 
 
 
=?Utf-8?B?S0FSTCBERVdFWQ==?=
Guest
Posts: n/a
 
      20th Jul 2006
Try update to Null to put nothing.

"JB" wrote:

> Hello.
> In this db someone has typed 'No Post' in around 350 records in the Address
> column (instead of ticking the 'No Post' option)
> I've run a query to select where is says 'No Post' and then an update to
> try and delete but it won't accept nothing in the 'update to' box.
> How can I delete this?
> Thank you
> J
>
>
>

 
Reply With Quote
 
 
 
 
JB
Guest
Posts: n/a
 
      20th Jul 2006
I did but now I have Null in the cells instead of No Post


"KARL DEWEY" <(E-Mail Removed)> wrote in message
news:2E8A2677-FAD6-4673-9B14-(E-Mail Removed)...
> Try update to Null to put nothing.
>
> "JB" wrote:
>
>> Hello.
>> In this db someone has typed 'No Post' in around 350 records in the
>> Address
>> column (instead of ticking the 'No Post' option)
>> I've run a query to select where is says 'No Post' and then an update to
>> try and delete but it won't accept nothing in the 'update to' box.
>> How can I delete this?
>> Thank you
>> J
>>
>>
>>



 
Reply With Quote
 
John Vinson
Guest
Posts: n/a
 
      20th Jul 2006
On Thu, 20 Jul 2006 17:20:07 +0100, "JB" <(E-Mail Removed)>
wrote:

>I've run a query to select where is says 'No Post' and then an update to
>try and delete but it won't accept nothing in the 'update to' box.
>How can I delete this?


Put the word

NULL

with no quotes, no punctuation, just the word, in the UpdateTo row.

Be sure to put

"No Post"

in the Criteria line so you update only these bad records; you should
probably back up your database first just in case!

John W. Vinson[MVP]
 
Reply With Quote
 
=?Utf-8?B?S0FSTCBERVdFWQ==?=
Guest
Posts: n/a
 
      20th Jul 2006
Is it a text field or are you using an option group on your form. If it is
an option group then you need to know what the number or character signifies
'No Post' and use it in your update.

"JB" wrote:

> I did but now I have Null in the cells instead of No Post
>
>
> "KARL DEWEY" <(E-Mail Removed)> wrote in message
> news:2E8A2677-FAD6-4673-9B14-(E-Mail Removed)...
> > Try update to Null to put nothing.
> >
> > "JB" wrote:
> >
> >> Hello.
> >> In this db someone has typed 'No Post' in around 350 records in the
> >> Address
> >> column (instead of ticking the 'No Post' option)
> >> I've run a query to select where is says 'No Post' and then an update to
> >> try and delete but it won't accept nothing in the 'update to' box.
> >> How can I delete this?
> >> Thank you
> >> J
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
John Vinson
Guest
Posts: n/a
 
      20th Jul 2006
On Thu, 20 Jul 2006 18:29:21 +0100, "JB" <(E-Mail Removed)>
wrote:

>I did but now I have Null in the cells instead of No Post


That would suggest that you updated to

"Null"

You need to lose the quotes.

John W. Vinson[MVP]
 
Reply With Quote
 
JN
Guest
Posts: n/a
 
      21st Jul 2006
I did, I put Null no quotes, nothing but it changed everything to the word
Null.
What I did do in the end was Find and Replace, i.e . Find 'No Post' ,
Replace (nothing) and that did the trick
Thanks for your time anyhow
J

"John Vinson" <jvinson@STOP_SPAM.WysardOfInfo.com> wrote in message
news:(E-Mail Removed)...
> On Thu, 20 Jul 2006 17:20:07 +0100, "JB" <(E-Mail Removed)>
> wrote:
>
>>I've run a query to select where is says 'No Post' and then an update to
>>try and delete but it won't accept nothing in the 'update to' box.
>>How can I delete this?

>
> Put the word
>
> NULL
>
> with no quotes, no punctuation, just the word, in the UpdateTo row.
>
> Be sure to put
>
> "No Post"
>
> in the Criteria line so you update only these bad records; you should
> probably back up your database first just in case!
>
> John W. Vinson[MVP]



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Column of formulas with some cells containing data derived from thereformula's I would like to find a formula to copy all cells with data (whichis actually text) from that column to another but leaving no blank cells inthis new column barwald.simon@gmail.com Microsoft Excel Discussion 2 10th Apr 2013 11:56 PM
Copy column header to next column, delete & delete every nth colum genehunter Microsoft Excel New Users 1 2nd Jun 2009 03:57 PM
Search for a column based on the column header and then past data from it to another column in another workbook minkokiss Microsoft Excel Programming 2 5th Apr 2007 01:12 AM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row >> look MPSingley@midamerican.com Microsoft Excel Programming 2 30th Dec 2006 07:23 PM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row >> look MPSingley@midamerican.com Microsoft Excel Misc 0 27th Dec 2006 05:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:34 AM.