Hi,
The following will generate a list of all tables and queries froma db:
SELECT MSysObjects.Typ e, MSysObjects.Nam e, MSysObjects.Dat eCreate,
MSysObjects.Dat eUpdate
FROM MSysObjects
WHERE (((MSysObjects. Type)=1 Or (MSysObjects.Ty pe)=5) AND
((Left([name],4))="MSys"))
ORDER BY MSysObjects.Typ e, MSysObjects.Dat eCreate;
I just wanted to know if there is a way to have the type of query
(append, update, etc) on the list? Any hint ?
Thank you in advance
Gabriel 2 1887
"Gabriel" <ga************ *@yahoo.com> wrote in message
news:3a******** *************** ***@posting.goo gle.com... Hi,
The following will generate a list of all tables and queries froma db:
SELECT MSysObjects.Typ e, MSysObjects.Nam e, MSysObjects.Dat eCreate, MSysObjects.Dat eUpdate FROM MSysObjects WHERE (((MSysObjects. Type)=1 Or (MSysObjects.Ty pe)=5) AND ((Left([name],4))="MSys")) ORDER BY MSysObjects.Typ e, MSysObjects.Dat eCreate;
I just wanted to know if there is a way to have the type of query (append, update, etc) on the list? Any hint ?
Thank you in advance Gabriel
I think you will need to try another approach such as using the DAO.QueryDef
object so you can inspect the .SQL property of each query. ga************* @yahoo.com (Gabriel) wrote in message news:<3a******* *************** ****@posting.go ogle.com>... Hi,
The following will generate a list of all tables and queries froma db:
SELECT MSysObjects.Typ e, MSysObjects.Nam e, MSysObjects.Dat eCreate, MSysObjects.Dat eUpdate FROM MSysObjects WHERE (((MSysObjects. Type)=1 Or (MSysObjects.Ty pe)=5) AND ((Left([name],4))="MSys")) ORDER BY MSysObjects.Typ e, MSysObjects.Dat eCreate;
I just wanted to know if there is a way to have the type of query (append, update, etc) on the list? Any hint ?
Thank you in advance Gabriel
Short of your creating prefixes for them when you name your queries,
no. Otherwise, you'll have to do what Eric said. (I'd almost swear
that's DM in disguise...) You could loop through the QueryDefs
collection, pass the SQL property to a function, parse it a little
inside the function and then return a query type. Not the most
scientific, but it should get you started. Might be worthwhile if you
have a zillion queries to catalog. Definitely a time to use some kind
of naming conventions... especially when you have a lot of objects. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Macon |
last post by:
------=_NextPart_000_04B4_01C36308.415CE100
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
Long time reader, first time poster, I hope that I get this right.
I am setting up a database that reflects a relationship between two =
|
by: Nick Truscott |
last post by:
<?
// scoreinput.php - input a match score when match selected from list
?>
<html>
<head>
<basefont face="Verdana">
</head>
<body>
|
by: John young |
last post by:
I have been looking for an answer to a problem and have found this
group and hope you can assist .
I have been re doing a data base I have made for a car club I am with
and have been trying to make a query that selects from a table as
desribed below ..
I have a table (Volunteer) that has a member field (memnumber)
and a number of fields that are headed in various categories and are
yes/no formated
|
by: ormy28 |
last post by:
I really need some help with the following problem if anyone would be
willing.
I need a list box to list the opposite of what appears in a query.
Heres the details:
My database is for a doctors surgery, and this includes the tables
tblPatients, tblDoctors and tblAppointments. tblAppointments has an
Appointment ID and also includes the Patient ID (from tblPatient) and
Doctor ID (from tblDoctor) plus the start and end time of the
|
by: starace |
last post by:
I have designed a form that has 5 different list boxes where the
selections within each are used as criteria in building a dynamic
query. Some boxes are set for multiple selections but these list boxes
do not necessarily need to have a selection made to be used in the
dynamic query.
In essence the form can have selections made in all or none of its list
boxes to form the dynamic query
I am looking to get some feedback in reference to...
| |
by: Zlatko Matić |
last post by:
Hello.
How to reference selected values from a multi-select list box, as a
criteria in a query ?
Is it possible at all?
Regards,
Zlatko
|
by: Liam.M |
last post by:
hey guys,
I have one last problem to fix, and then my database is essentially
done...I would therefore very much appreciate any assistance anyone
would be able to provide me with.
Currently I have set up a Query to show only records that meet a
certain criteria...therefore excluding all of the records that do not
meet this criteria (just for the record the criteria is any record
within my database that falls within two months of its "Due...
|
by: Chuck36963 |
last post by:
Hi all,
I've been working on a listing problem and I can't figure out how to work it out. I have looked far and wide on the web to find answers, but I'd like other peoples input on my project in the whole. I really need MySQL wizz to give me a hand (and maybe refer me to books to get me to the wizz level myself).
First off, english is a second language to me and sometimes my sentences might be a little awkward. Please forgive me. Mon...
|
by: rhobson2 |
last post by:
Hello,
I wrote a database applicaiton using Access XP (2002) and everything
has been working good for the client until they purchased a couple of
new computers with Access 2003.
The meetings form has an unbound combo box listing all the meetings in
the database allowing the user to navigate between meeting records.
The meetings form also has a list box that displays a list of members
associated with a meeting.
|
by: Nettle |
last post by:
Purpose:
This is a Distribution List database.
Function:
Users create many different email distribution lists, tailoring each to fit their specific needs
Wanted:
Users can combine multiple distribution lists to create new ones. Sometimes, however, they discover they've made a mistake. Users would like to delete from a new distribution list only the records that belong to an old one.
Technique (Short)
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |