Null Values

paul29berks

Active Member
Joined
Mar 15, 2004
Messages
293
i wondered if someone could help.

I have just appended 100 or so records into a table.

Once appended 2 of these records within the table have included the word "Null" into fields not occupied by any content.

I have tried deleted the word null from the table and an error appears:

"You tried to assign the Null value to a variable that is not a variant data type"

If I can help it I dont want to delete records from table and reappend.

Thanks

Paul
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

pritcham

Board Regular
Joined
Oct 26, 2005
Messages
128
Paul

Are the relevent fields in the table set up to accept NULL values or not? If not then there must be an entry for the fields, if the fields CAN accept NULL values then where it's saying "Null" in the field it doesn't mean that "Null" is actually stored there as a value - NULL means a lack of a value so you won't be able to delete it (as it doesn't technically exist).

Hope that clarifies
Martin
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,551
Messages
5,838,055
Members
430,527
Latest member
MyFace2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top