Delete Fields (1 Viewer)

deehutchins

Registered User.
Local time
Today, 11:37
Joined
May 30, 2014
Messages
49
Good afternoon everyone,

I have hopefully really simple and quick question, is it possible to create a query that will delete the fields within a table?

Thanks,
 

plog

Banishment Pending
Local time
Today, 13:37
Joined
May 11, 2011
Messages
11,658
Yes, but this screams of a poor implementation. Just to be clear you asked how to delete a field--as in wipe that column out completely. So here's the link for that: http://office.microsoft.com/en-us/access-help/alter-table-statement-HP001032207.aspx

You didn't ask how to delete a value from a field. What you asked is a red flag, databases aren't designed to have fields quickly added and deleted by using a query. You wouldn't want a query laying around for a end user to click that would have that power.

Can you explain why you need to do this? Provide table and field names to give an example.
 

Users who are viewing this thread

Top Bottom