M
Michael San Filippo
Can you make dlookup in an sql statment instead of making a query?
example:
If DCount("WCID", "WoundCount") > 0 Then
example:
If DCount("WCID", "WoundCount") > 0 Then
Wayne Morgan said:While the query isn't complicated, I would still leave it as you have it and
call the query in the DCount statement. This will take advantage of Access
optimizing the query's performance. If it was just a matter of the WHERE
clause, this could be incorporated, but you are also limiting your records
with the join to another table.
If you explain further what you are trying to accomplish by getting rid of
the query, I may be able to think of something else.
--
Wayne Morgan
MS Access MVP
sure can -
SELECT WoundCare.*, TreatmentTracking.TTvisitdate,
TreatmentTracking.TTvisittime
FROM TreatmentTracking INNER JOIN WoundCare ON TreatmentTracking.TTid =
WoundCare.WCvisitID
WHERE (((TreatmentTracking.TTinitID)=[Forms]![ClinicalMain]![TTinitID]) AND
((WoundCare.WCnum)=[Forms]![ClinicalMain]![WoundNum]))
ORDER BY WoundCare.WCid DESC;
tables/queries/modulesbig a table is in the database. like a size field for
tables/queries/modulesMichael San Filippo said:I was just curious on if there was a way to do it. I hate having tons of
queries in a DB. makes it messy ;-)
Plus then I have to remember to export it heh..
Ohh well, thanks anyways.
Any idea when Access is going to come up with a feature so you can see how
big a table is in the database. like a size field for
I was just curious on if there was a way to do it. I hate having tons
of queries in a DB. makes it messy ;-)
Any idea when Access is going to come up with a feature so you can see
how big a table is in the database. like a size field for
tables/queries/modules
I wanted to know the size of a table so that I know if the table is
static enough to export it to the frontend.
Also, Backup tables, when I change some information i normally make a
backup of the table, for example
Table Intial (main table that drives everything)
Want to know if this is what is bloating my db, so i can delete it,
normally i make a copy, delete it, then compact and look at the diff,
but this is alot of work ya know?