| Thread | Last Post | Replies |
|
| Delete from 1 if there is no record in many | 03 Jul 2007 07:39 GMT | 2 |
I have 2 tables. Department (one) linked to Phone Book (many). I want to delete record in Department table where there is no record in Phone Book table. DELETE Department.*, [Phone Book].Department
|
| access 2007 rejecting format to group by year | 03 Jul 2007 03:32 GMT | 2 |
I'm looking at moving Access 2002 to 2007. There's a database query to extract accounting records and grouping/totalling by year. 2007 rejects the format as 'Undefined function format$. It's - Field: Date By Year: [Format$]([Accounts - account transactions].Date,"yyyy")
|
| Create query dynamically in VBA? | 03 Jul 2007 02:05 GMT | 2 |
I need to run a transfertext command based on data specified on a form. Part of this is a multi-select liist box. So I need an WHERE... IN(... ... ...) in my SQL based on the listbox selections. Transfertext requires a query so how do I create a query in VBA. I have all the code ...
|
| DISTINCT changes data to eliminate duplicates? | 03 Jul 2007 00:29 GMT | 2 |
This is odd: I have an ODBC connection to an Oracle db. In this one table I see that almost every single record is duplicated resulting in nearly half a million rows. I thought I'd run a SELECT DISTINCT query against it so I could work with a
|
| How get TOP 10 DISTINCT dates | 03 Jul 2007 00:18 GMT | 2 |
I have a table with a date/time field. I need to get the top 10 distinct dates (ignoring time portion). I tried: SELECT DISTINCT TOP 10 Format(RecordDate,'MM/DD/YYYY') AS RecDate FROM tblAddress
|
| Multiple yes/no boxes | 03 Jul 2007 00:04 GMT | 1 |
I have a table that tracks steps completed in a project. The steps are setup as yes/no boxes. I am trying to write a querry the will bring back the current step in progress. For example, there are boxes for pursuit, purchase, construction, close, etc.
|
| Turn columns into rows | 02 Jul 2007 22:16 GMT | 1 |
How do you change columns into rows in MS Access? EX: FName LName ------------------
|
| Group results in query | 02 Jul 2007 20:30 GMT | 9 |
I have a table containing several Projects, Areas (where project takes place) and projects Phases. I made a query that Counts the total of projects in each area AND phase: Query_Projects:
|
| DLookUp in a Query | 02 Jul 2007 20:20 GMT | 4 |
I am getting a #Error message in the AMOD field of my query QUERY1: AMOD: iif(IsNull([MSIZE]),"N/A",DLookUp("MOD","QUERY2","MODID= " & [MSIZE])) MSIZE is a lngInt field located in 'Query1'. Sometimes it has a Null value. MOD is the value I want to retrieve from QUERY2.
|
| SUM & COUNT Functions are duplicating records in calculation | 02 Jul 2007 19:58 GMT | 1 |
I have a table of approx. 128K records. These records contain an account#, date of service, & charges. I have written a query for this table to provide a count of all accounts after a specific date and sum the charges; by month and year. The query will successfully run, yet ...
|
| Subquery - Return Last Record | 02 Jul 2007 19:32 GMT | 3 |
I'm trying to code a subquery on a table but to no avail...it's a very simple table that has Date (short date, just recording the day) and NAV which is a number (double). All I'm wanting to do is have a query that displays the Date, the NAV and the
|
| Query on "Yes" Brings Back both | 02 Jul 2007 18:08 GMT | 5 |
I have created a table where the value is Yes/No - text with default as No. I have a query in which I am trying to bring back only the "Yes", but both yes and no are being shown. Any ideas? Thanks
|
| How to Restrict Users to view/go to Query Design/Sql mode in MDE/M | 02 Jul 2007 17:42 GMT | 4 |
I want to secure my Access MDE file so that My users can not go to Design / SQL view of the query. Currently after opening query through command button provided by me on form , any user can press right click button & Go to design/Sql view of the query & fiddle with it. I want to ...
|
| Between Date | 02 Jul 2007 17:42 GMT | 3 |
I have a query which i would like have a parameter use when a user runs the query it would promt for a date between recvd date and invdate. Though some records do have null values in the date field, i want to be sure that the quey picks up all records. How is this set up?
|
| last transaction in a query? | 02 Jul 2007 17:32 GMT | 6 |
I have a table with 5 fields ID PersonID EDate Amount and TransType I want a query with the last record of each person based on date and I
|