ms-access


Access 2003: Determine whether one or all of 4 fields exist in table


I have a table which changes every day but will always have the same name (Scrubbed). I need a query to determine whether the new fields exist in the table that day. I'll call them field1, field2, field3, field4.
I had a sql query:
SELECT Scrubbed.field1, Scrubbed.field2, Scrubbed.field3, Scrubbed.field4
FROM Scrubbed;
Which errors with a message box (new fields not in table) if it doesn't find all 4 fields. This isn't working out. If the table contains fields 1 and 2 but not 3 and 4, I need the user to know that without opening the table.

Related Links

Extracting data from 60,000 Facebook ID's in less than 6 hours?
MS Access 2010: Linking to SharePoint list with Multiple Content Types -Read-Only
Save password for ODBC connection to MS SQL server from MS Access 2007
Average of a distinct count by day in Access
How to do calculation using many-to-many relationship in MS Access
What does a column with plus sign mean in this Access 2003 table?
Image generation from table data
Too few parameters error when executing a saved query
Access pass-through query giving error
MS Access form to edit specific record from a form by providing input through text box
MS Access 32 bit converting to 64bit error
password when try to view the source code of Form,how to delete?
How to directly update a record in a database from a form number (Access 2007)
MS Access 2007 Subquery only returning one result
MS Access form Validations from VB scriptproblem: complete logic executing when initial if logic validation not satisfied also
Export SAS dataset to Access with formatted values

Categories

HOME
netsuite
minimum-spanning-tree
smarty
office365api
grep
sharepoint-designer
c#-2.0
installshield
serverspec
metatrader4
resize
collectd
spring-tool-suite
django-simple-history
django-admin
fatal-error
reactive-cocoa
contextmenu
jprofiler
introduction
jquery-ajaxq
csrf-protection
google-search-api
smb
qhull
spark-jobserver
facet
neo4j-spatial
primitive
nouislider
semantic-versioning
pdb
catel
http-get
webtest
textmate
language-concepts
atl
mapdb
space-complexity
streamsets
starteam
c11
squib
unoconv
ensembles
no-www
qwt
long-polling
dotcover
youcompleteme
chain-builder
winscp-net
drupal-6
akka-cluster
python-cryptography
flutterwave
jspdf-autotable
minimization
pintos
merge-conflict-resolution
holder.js
pagedlist
actionbardrawertoggle
icu4j
quicklisp
drawbitmap
tableau-online
ideamart
cisco-ios
bridge.net
nsmutabledictionary
mdt
issuu
php-5.4
flask-cors
p4java
jquery-layout
doskey
terminal-services
gnu-smalltalk
apc
ril
excel-2003
interface-orientation
spring-validator
limejs
eventlistener
simba
cisco-jtapi
jspinclude
spring-portlet-mvc
code-cleanup
spyware
subviews
asp.net-mvc-areas
forums
bespin
ncqrs
nintendo-ds
brewmp
text-coloring
aquaticprime
zune

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App