MSGROUPS.NET | Post Question | About | Groups | Contact | Register | Login



microsoft public excel misc (9093)

microsoft public outlook general (7339)

microsoft public excel programming (6569)

microsoft public word docmanagement (5607)

microsoft public excel worksheet functions (5040)

microsoft public access (4768)

microsoft public windowsxp general (3908)

microsoft public windows vista mail (2978)

microsoft public windows vista general (2805)

microsoft public windows live mail desktop (2723)

microsoft public office misc (2268)

microsoft public access queries (2122)

microsoft public powerpoint (2030)

microsoft public greatplains (2009)

microsoft public windows server sbs (1984)

microsoft public dotnet languages csharp (1964)

microsoft public access formscoding (1932)

microsoft public sqlserver programming (1878)

microsoft public mac office entourage (1868)

microsoft public access forms (1798)

microsoft public internetexplorer general (1706)

microsoft public mac office word (1699)

microsoft public access modulesdaovba (1691)

microsoft public outlook calendaring (1436)

microsoft public dotnet framework aspnet (1381)

microsoft public project server (1356)

microsoft public windowsupdate (1353)

microsoft public sqlserver server (1339)

microsoft public project (1285)

microsoft public excel (1277)

microsoft public access reports (1249)

microsoft public windowsxp help and support (1204)

microsoft public exchange admin (1185)

microsoft public windowsmedia player (1165)

microsoft public mac office excel (1160)

microsoft public windows server general (1100)

microsoft public dataprotectionmanager (1096)

microsoft public outlook (1035)

microsoft public word vba general (1029)

microsoft public vb general discussion (1012)

microsoft public outlook contacts (953)

microsoft public windows server active directory (930)

microsoft public development device drivers (923)

microsoft public dotnet languages vb (843)

microsoft public outlook installation (820)

microsoft public word newusers (808)

microsoft public word pagelayout (783)

microsoft public windowsce platbuilder (757)

microsoft public excel charting (733)

microsoft public publisher (728)

microsoft public excel newusers (711)

microsoft public windows powershell (697)

microsoft public pos (660)

microsoft public vc mfc (651)

microsoft public access gettingstarted (630)

microsoft public word application errors (629)

microsoft public sharepoint general (604)

microsoft public office setup (584)

microsoft public onenote (556)

microsoft public sqlserver reportingsvcs (550)

microsoft public outlookexpress general (539)

microsoft public scripting vbscript (533)

microsoft public frontpage client (532)

microsoft public access tablesdbdesign (529)

microsoft public windows 64bit general (516)

microsoft public outlook program vba (502)

microsoft public windows live messenger (434)

microsoft public windowsxp hardware (416)

microsoft public money (397)

microsoft public windowsxp basics (367)

microsoft public dotnet general (316)

microsoft public windows mediacenter (300)

microsoft public windows inetexplorer ie6 outlookexpress (276)

microsoft public mac office (272)

microsoft public win98 gen discussion (243)

microsoft public sharepoint setup and administration (225)

microsoft public windows vista hardware devices (183)

microsoft public windows vista music pictures video (178)

microsoft public nntp test (164)

microsoft public windows vista performance maintenance (148)

microsoft public dotnet framework (148)

microsoft public visio (128)

microsoft public access 3rdpartyusrgrp (68)

microsoft public access conversion (64)

microsoft public dotnet xml (58)

microsoft public pt windowsxp (38)

microsoft public access developers toolkitode (34)

microsoft public windows live photogallery (32)

microsoft public dotnet faqs (19)

microsoft public dotnet framework aspnet datagridcontrol (16)


microsoft.public.access.queries Post New
Items(2114) /43 Next >> Last >|
Subject Posted Replies From
Like Criteria Question using a control from a Form

I am trying to do a like criteria with 2 wildcards using a text box as the parameter. The original data comes from our ERP system that I ODBC to. Everything I read tells me I am writing the criteria correctly but it will not pull any data or I get an ODBC fail message. But if I take out the Form control as the parameter and just type the parameter it works. Here is my criteria Like"*" & [Forms]![NewBlockForm]![Text0] & "*" Does anyone have any suggestions as why this is not working. I am trying to filter down the results that the production people need to view to decid

6/7/2010 8:46:03 PM 1 =?Utf-8?B?RGF3blAyNzc=?= <DawnP...@discussions.microsoft.com>
Using a combo box to determine which field to search.

What I want to do, hopefully, will be simple enough. I want to have a search form that has two fields, one a combo box and the other an unbound field. I want the combo box to list the different fields within a table that I want to search. I want the unbound field to be where I enter the criteria for searching the field that I selected in the combo box. In the past I usually just created an unbound form and created unbound fields for each field and then call the fields to the query. This has always worked well enough but thought It would be easier using 2 fields as opposed to many.

6/7/2010 7:38:27 PM 3 "vander via AccessMonster.com" <u59...@uwe>
in access, if then statement

if (Escalation/Assignment = 0) or (Updateheat = 0 )or (Worklog = 0), then 0 for the total. Else total. How would you set this up in design query? Each of the above is a seperate table Query: SELECT DISTINCTROW tblMonitoringData_OLD.[HEAT ID], [tblEscalation/Assignment]![Points Earned]+tblUpdateHeat![Points Earned]+tblWorklog![Points Earned] AS [Documenation Pts], [tblEscalation/Assignment].[Points Earned] AS [Escalation?Assign], tblUpdateHeat.[Points Earned] AS UpdateHeat, tblWorklog.[Points Earned] AS Worklog FROM ((tblMonitoringData_OLD LEFT JOIN [tblEscalation/Assi

6/7/2010 7:11:03 PM 2 =?Utf-8?B?ZHRyZXRpbmE=?= <dtret...@discussions.microsoft.com>
Function of colon between table names when query in design view

I am looking at a field from a query that is in design view. Inside the field are two field names from the same table which are separated by a colon. For example, Old and New are both fields from tblReplace and appear like this Old:New in design view. I believe the colon concatenates the field Old and New into a new field when you change the query view to datasheet view. Am I correct? Also, in a completely separate question if you are looking at a query in design view and there is a field in the (Field:) row, a table in the (Table:) row, and Group By in the (Total:) row wh

6/7/2010 6:11:51 PM 2 =?Utf-8?B?SmF6eg==?= <J...@discussions.microsoft.com>
Add character to string

I have a simple query that pulls data from a single table containing some basic client information. One field is a text field containing alpha-numeric data. For purposes of a report, I need to add the letter C in front of these numbers. I do not want to update the fields permanently, as there are other circumstances where I do not want C to display. I tried "C"& ""&[CaseID], and variations thereof, but none of them work. I know this must be simple, but I can't seem to figure it out. Any help would be appreciated.

6/7/2010 2:27:33 PM 3 Twimm <twin...@yahoo.com>
Dsum Problem with date criteria

Hi all, Kindly solve my problem. I have 2 tables stock_received , stock_utilized. stock_received fields -- date,3pcs,4pcs,boxes. stock_utilized fields -- date,3pcs,4pcs,boxes. I have successfully made a query to get the the current stock in hand as select sum(3pcs)- dsum("3pcs","stock_utilized"), sum(4pcs)-dsum("4pcs","stock_utilized"),sum(boxes)-dsum("boxes","stock_utilized") from stock_received ; Here i have a complex problem, I cant make query with date criteria. for example 01/05/2010 to 30/05/2010 I want to get how much stock received in that dates and how

6/7/2010 10:16:05 AM 1 =?Utf-8?B?bmF2ZWVuIHByYXNhZA==?= <naveenpra...@discussions.microsoft.com>
FILTER

How do you filter numbers? ex. 1 through 200 in order?

6/7/2010 3:07:20 AM 1 =?Utf-8?B?YWNjZXNzdm90ZXI=?= <accessvo...@discussions.microsoft.com>
How to set the parameter query for this case?

Dear all, I have 2 fields, Eng and Math. I would like to set the parameter query for Eng and Math ==> Eng min, Eng max, Math min and Math max. The Eng query criteria can be "Between Eng min AND Eng max" and the Math query criteria can be "Between Math min AND Math max". But...if I would it can be allowed to have "Null entry", how can I set the Eng and Math query criteria? Please kindly help me, thanks a lot!! All combinations will be like... Eng : Between Eng min AND Eng max, Between Null AND Eng max, Between Eng min AND Null, Between Null AND Null Math : Between Math min AND Mat

6/7/2010 2:55:12 AM 2 "klim1167 via AccessMonster.com" <u60...@uwe>
complex query to pull unique values

I have an inspection table to keep track of rooms in various buildings. These rooms are shared with different supervisors. One inspection of a location would result in x # of inspection records. If the room was shared by 3 supervisors, the same inspection would generate 3 inspection records. Comment field on each record would be different according to the supervisor, were their employees following protocol, safety issues etc. Since there are so many fields, trying to pull unique values is difficult, so I made a new field in the query which concatenates SupervisorID, Bldg & Roo

6/7/2010 1:24:38 AM 6 "JR" <ilove...@gmail.com>
Use of Parntheses in Expressions

Hello, I am fairly new to Access and Excel. I am trying to write a formula/expression, but I think my problem is as simple as having the parenthese in the wrong place. The formula I have currently is as follows: Sum(((IIf([Mapping]![Pricing]="CPM",[TPImpressions]/1000*[Mapping]![Price],IIf([Mapping]![Pricing]="CPC",[TPClicks]*[Mapping]![Price],[TPConv]*[Mapping]![Price]))))*[Mapping]![Eye Engage Cost]))))) I basically want the SUM(IF part to be evaluated first and then multiply the result by [Mapping]![Eye Engage Cost] at the end. Currently, the formula above returns the value

6/6/2010 11:49:14 PM 3 =?Utf-8?B?YmJhbDIw?= <bba...@discussions.microsoft.com>
calculating average days

I am trying to develop a report where in the PartNum footer the average number of days between orders is calculated. I have created the following: Table: tblItemsRecvd Fields: PartNum SupplrName DateOrdrd DateRecd AmtRecd Query: qryItemsRecvd based on tblItemsRcvd PartNum Criteria: [Enter PartNum:] SupplrName DateOrdrd DateRecd AmtRecd Report: rptItemsRecvd based on qryItemsRecvd I would like to calculate the average number of days between orders for the selected part number. Do I do it in the query (how?) or at the report level (how?)? I am using Acces

6/6/2010 11:49:01 PM 2 =?Utf-8?B?Sm9obkw=?= <Jo...@discussions.microsoft.com>
Serious Problem with Access 2010 "Query to complex"

I just installed Office 2010 (May 2010 version from Technet download) and many queries that worked in 2003 and 2007 now will not open and produce the error message "Query to complex - OK". Nothing was changed in the query or the whole database. These queries produce award calculations for plaintiffs in a number of cases that I provide expert services for. Some are more complex than others but the math and functions used are fairly simple (mostly basic math and IF statements) I can probably produce a fix by spliting the primary queiries in half and joining them but this will

6/6/2010 6:52:20 PM 0 =?Utf-8?B?SmltRw==?= <J...@discussions.microsoft.com>
Multiple tables search

Hi all, Kindly solve my problem. I have a mdb file. tables created t1,t2,t3,t4. fields are almost same in all tables, but the data is different in all tables. fields are.. name, age, mobile_number,place. I want to create a query to get name by mobile_number search. In query execution the input i want to give is mobile number only, it should search the mobile number in all tables and get the correct name. kindly help how can should i create the query.

6/6/2010 9:33:11 AM 8 =?Utf-8?B?bmF2ZWVuIHByYXNhZA==?= <naveenpra...@discussions.microsoft.com>
Sum and DateDiff

Hi, I doing a calculation in a query of the difference in times. I'm wondering if I can control the decimal precision to be just (2) places. The number I end up with is ie; 5.6666666666, can I have this to round off to something like 5.67? Here is the query expression I'm using for this; TotalTime: Sum(DateDiff("n",[StartTime],[EndTime])/60) Thanks you,

6/6/2010 2:33:30 AM 2 =?Utf-8?B?S2VsbHk=?= <Ke...@discussions.microsoft.com>
date and time query

hello, this is my first post in this forum. I have the following problem and i really need some help because i am about to go crazy. I cannot understand why running this code in sql select * from lessons where [date_math] = #29/5/2008# AND ([end_time] > #13:00:00# AND [end_time] <= #14: 30:00#) results in a row like this: id:1150 date_math: 29/5/2008 start_time: 11:30 end_time: 13:00 (!!!) less_name: my_name The most crazy thing is that the following query returns no results select * from lessons where [date_math] = #29/5/2008# AND ([end_time] > #13:00:01(!!!!!!!

6/5/2010 10:04:12 PM 6 "domaze" <u60...@uwe>
Print Order Sort - 3 sections per page - to be cut and stacked

I have a query/report that prints 3 sales slips per page. I need to sort the query so that when the user cuts the report into to thirds that they can stack the top 1/3 on the middle 1/3 and then stack the new top/middle 2/3s on the bottom 1/3. Once stacked, all the salespeople sales slips are together and order. Example: ------------------------------------------------ Page 1 - Top - Salesperson1 Page 1 - Mid - Sales person2 Page 1 - Bottom - Salesperson3 Page 2 - Top - Salesperson1 Page 2 - Mid - Sales person3 Page 2 - Bottom - Salesperson4 Page 3 - Top - Salesperson2

6/5/2010 1:07:37 AM 1 =?Utf-8?B?TVN3ZWV0RzIyMg==?= <MSweetG...@discussions.microsoft.com>
Optimization of Between Clause Queries

I have some sql queries involving the use of between clauses, similar to the following: select Colors1.*, sum(Colors2.freq) as TFreq from OldColors as Colors1, OldColors as Colors2 where Colors2.r between Colors1.r - 7 and Colors1.r + 7 and Colors2.g between Colors1.g - 7 and Colors1.g + 7 and Colors2.b between Colors1.b - 7 and Colors1.b + 7 group by Colors1.r, Colors1.g, Colors1.b; The OldColors table has several indexes, including one that is defined as follows: create index RGB on OldColors(r, g, b); Can anyone tell me with a high degree of certainty

6/4/2010 10:42:32 PM 3 "Kevin Myers" <kevinmyers_nos...@austin.rr.com>
A field (string) is into other field (string)

Using 2 tables I want to get the rows that match where the content of the field (string) is equal or is into other field (string) from other table.

6/4/2010 10:03:38 PM 2 =?Utf-8?B?VmljdG9yMjAyMA==?= <Victor2...@discussions.microsoft.com>
Querying for most recent value

I am rather much of a novice when it comes to developing Access databases, but have found myself in a situation at work where I have had to develop two recently. I have a situation where I am trying to query the database to determine placement types of all children in the database. A child may have had more than one placement so I want to ensure that I am retrieving the most recent placement type. This is my table structure: Child Table: includes caseid (primary key), last name, first name, etc. Placement Type: includes placement id (primary key), case id, date of placemen

6/4/2010 8:07:58 PM 1 =?Utf-8?B?ZGhpbnRvbg==?= <dhin...@discussions.microsoft.com>
AVG BETWEEN DAYS

Hello, Within my qry I would like to calculate the average daily production for the month. The data Im working with is: production volume, dates (which is a daily info.) and ID number. I'm working with tons of data that have production for each day of the year dating back 5 or more yrs. However I'd like to narrow my daily data to only 6months prior summed up to monthly data and averaged. Please help! Thanks for your help.

6/4/2010 8:03:45 PM 1 =?Utf-8?B?THVjeQ==?= <L...@discussions.microsoft.com>
Looping through data with calculations

I have to loop through the data from one table (demand) and calculate total supply expected depending on the data from the other tables, here is example and expected result: Table A - (supply batches) Item Quantity a 10 b 8 c 12 d 20 Currently in stock C Item Quantity a 0 b 4 c 2 d 0 Table B - (demand) Item Date Quantity a 04-jun-2010 2 a 05-jun-2010 4 a 06-jun-2010 7 a 07-jun-2010 4 a 08-jun-2010 1 b 05-jun-2010 4 b 06-jun-2010 5 b 07-jun-2010 3 b

6/4/2010 7:52:51 PM 1 =?Utf-8?B?Y2xhbGM=?= <cl...@discussions.microsoft.com>
DatePart

I'm trying to convert "mm/dd/yyyy hh:nn:ss" date format to just time using DatePart function. I've used DatePart("hh:nn",[TimeIn]) and it returns "Error". I've used TEMP: DatePart("h",[TimeIn]) & ":" & DatePart("n",[TimeIn]) and it returns the time; however, I can't compare the result to other time since it returns the results in text format. Any suggestions? Keith

6/4/2010 6:31:47 PM 2 =?Utf-8?B?S2VpdGg=?= <Ke...@discussions.microsoft.com>
How to calculate days due?

I have a table (tblTerms) with 2 fields [strTerms] & [dblDaysDue]. The typical terms in the table would be 2%10 Net 30 with [dblDaysDue] having a value of 30. I then take the difference between the ship date from the invoice and the paid date to calculate if they are paying within terms. Everything works well, but now there's a customer with terms of 6/1. How can I calculate if they are paying within terms when the number of days due changes everyday? Thanks Jim

6/4/2010 5:29:08 PM 2 "Jim" <...@gordonferon.com>
Forcing an ambiguous outer join

I tried to add another table to my query with a Left join and I receive a message that my SQL contains ambiguous joins. It went on to say that I needed to create a separate query and I think it was telling me to combine the two. So I tried to do so but I received a syntax error about a missing operator. I searched the previous posts and then added the parentheses. Would you mind helping me put these two SQLs together? Thanks!!! Qry1 SELECT tblTransData.number, tblTransData.Empl, tblTransData.[cost code], tblTransData.[project alias], tblTransData.[cost category], tblCost

6/4/2010 3:12:12 PM 6 =?Utf-8?B?QWNjZXNzS2F5?= <Access...@discussions.microsoft.com>
JOIN Query very slow

This is a multi-part message in MIME format. ------=_NextPart_000_0020_01CB0409.76FB2B60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have the following Input tables Table1 Serial Item Date SerialandDate=20 123 Item1 01-04-2007 12339173=20 123 Item2 01-06-2010 12340330=20 234 Item1 01-10-2006 23438991=20 234 Item3 02-04-2010 23440270=20 234 Item2 01-01-2009 23439814=20 Table2 Serial Date SerialandDate=20 123 01-06-2010 12340330=20 234 02-04-2010 23440270=20

6/4/2010 11:45:00 AM 4 "Tally.NET" <tally....@itcatalystindia.com>
create a form that collects parameters

Hi, i need a form where we search for a detail and the result should be published in the bottom, based on the result the user will decide what to do next in acess 2007. i refered the link below http://office.microsoft.com/en-us/access/HA100963141033.aspx#form_param in this some mistake is there in the macro can somebody help me out. if any template for search form is available please let me know. thank you, -- Kalai

6/4/2010 11:35:14 AM 1 =?Utf-8?B?S2FsYWk=?= <Ka...@discussions.microsoft.com>
Total by certain time period

I have three fields in a table, and want to determine the total of the occurrences by a certain time period. The data I have looks like this. FGC RDate Occurrences 81 2009/01 1 81 2009/02 1 81 2009/03 1 81 2009/04 1 81 2009/05 5 81 2009/06 84 81 2009/07 1 81 2009/08 6 81 2009/09 3 81 2009/10 1 81 2009/11 5 And I want it to look like this FGC 81 Less Than 3 Months 9 3 Or More Months 91 6 Or More Months 7 9 Or More Months 2 12 Or More M

6/4/2010 3:02:03 AM 1 =?Utf-8?B?bmFkZXNpY28=?= <nades...@discussions.microsoft.com>
Switch Last Name First Name to First Name Last Name

Hello, Access 2003. I have a single field called "Name" in a table called "Members". There is about 300 records in a Last Name First Name format, example Doe John Moore Dave Johnson Jacob Mario (Some names have Middle Names or Sir's) How could I run a query to change the names to First Name Last Name? Or if you recommend in Excel how would I do this? John Doe Dave Moore Jacob Mario Johnson Thanks. Iram

6/3/2010 11:35:15 PM 2 =?Utf-8?B?SXJhbQ==?= <I...@discussions.microsoft.com>
Maybe Update Query?

I’m floundering about and need someone to point me in the right direction. I have two tables: tblCostCat CostCatNm-PK-text TypeID-text GrpTypeID-text tblTransData ID-PK-number Employee-text CostCatNm-text TransDate-date Hours-number I need to populate the tblTransData with the TypeID in tblCostCat. I’m not that experience with update queries but created one recently for another task and thought I’d use the same logic. I’ll leave out all the details about this because it didn’t work and I’m pretty sure I was going about it wrong. What’s the best or easiest way to

6/3/2010 9:13:29 PM 2 =?Utf-8?B?QWNjZXNzS2F5?= <Access...@discussions.microsoft.com>
Pulling specific data from table field

I am having a problem figuring the right way to pull specific data from within the text of the table's field and separating it into a unique field alone. Anyway, my problem is that I need to copy a user's first name out of a field that contains system user information, and then pull the last name out separately as well, both uniquely. I don't mind having separate queries to do this (although one would be preferred of course). Table: tbl1 Field: userinfo Example of field data: ABD 000000 111, Doe John, R, W, T22222222, T333333 The ABC and 111 are constants within the field, a

6/3/2010 7:55:28 PM 4 "jet04 via AccessMonster.com" <u60...@uwe>
Storing time as integers

I have a call database that includes a field for length of call. I have created a query that includes employee, date, and length of call. I need to calculate the average call length per employee and as a whole. I found one post that suggested the following: "To store time intervals you should store them as integers that represent the number of hours or minutes or seconds, etc.. and then you can perform whatever math you like. The results can then be converted to the hh:nn:ss format for display. " How is this accomplished? Lori

6/3/2010 7:48:15 PM 6 =?Utf-8?B?U1NpMzA4?= <SSi...@discussions.microsoft.com>
COUNT number of times text in records

I have a field of names where there are multiple records of the same name. I want to run a query on this showing a field of the name and a field of the number of time it is listed in the dataset. What SQL will do this? I've done it in Excel Pivot but I don't know how to convert it to SQL.

6/3/2010 4:48:02 PM 3 =?Utf-8?B?Z2F0b3I=?= <ga...@discussions.microsoft.com>
querying unrelated tables

I have two tables - Employee_PunchTime table and Holidays Table. The PunchTime table contains three fields representing EmployeeID, Time-in and Time-out; and the Holiday table contains two fields representing name of holiday and the date. If the payroll period is 5/31/2010 (Mon) thru 6/4/2010 (Fri) and 5/31/2010 is a paid holiday, I need to create a query that shows punched time and paid holiday on a separate column. On the paid holiday, there would obviously be no Time-In and Time-Out record. It will look something like this: EmpID Date Time-in Time-out Paid

6/3/2010 4:03:49 PM 7 =?Utf-8?B?S2VpdGg=?= <Ke...@discussions.microsoft.com>
Default Dates

I have a query that calculates records between two dates as Between [Beginning Date] And [Ending Date] Is there a way to show a default value for the beginning and ending dates in the input boxes rather than having to enter a date every time? Thank you for any help Paul.

6/3/2010 3:07:08 PM 2 =?Utf-8?B?QW1wcmlkZ2U=?= <Ampri...@discussions.microsoft.com>
How can I query a set of dates but exclude non-working days?

Hi there, I was hoping that someone might be able to help me. My Access knowledge is at best, rather limited, and I am stuck now and cannot proceed further without help! I am building a database of records for work received on certain dates, and completed by certain dates. I need to be able to to query which work loads where received on a given date, and whether or not it has a completed date within a specified limit (say, 3 days). I intend to have a query that displays records that do fall within the target, and a query that displays records that do not. The trick is tha

6/3/2010 2:37:36 PM 0 =?Utf-8?B?UGlsZ3JpbTcy?= <Pilgri...@discussions.microsoft.com>
Multiple Queries to Multiple Reports

I have a database that tracks cadets that will commission into the military and they are broken into their year groups. My problem is that to generate a report for each year group I need a seperate query for each year group so I have multiple reports and multiple queries in my database. I'm trying to figure out a way to eliminate all those quieres down to one query and report so when I click the button to bring up the report a box will open up asking me to type in the year of commission and then the report will only show those cadets commissioning in that year. Any help wo

6/3/2010 1:53:14 PM 1 =?Utf-8?B?bWd1ZmZleTU=?= <mguff...@discussions.microsoft.com>
duplicate results in query

Hi, I am getting duplicate results when I run a query. Here are the details. Bothe tables have the same data only dates have changed. what I am trying to do is find out which dates have changed. The problem is this. Some purhcase orders are split so the same PO and line has 2 dates. when i combine the 2 tables I get 4 lines for these instead of 2. example Vendor PO Line Qty Date X 1234 1 2 7/1/2010 X 1234 1 2 8/1/2010 When i combine this with the other table which is the same for these I get the followin

6/3/2010 1:24:57 PM 6 pat67 <pbus...@comcast.net>
Changing constants in a query to user input values

Access 2007 I have a table that contains (among other things) Start Date TimeDown End Date TimeUp All of these are Date/Time type Example data: Start Date TimeDown End Date TimeUp 16/3/10 02:00 16/3/10 04:00 16/3/10 06:00 16/3/10 09:00 16/3/10 19:00 16/3/10 20:30 16/3/10 23:00 17/3/10 01:00 17/3/10 03:00 17/3/10 04:00 17/3/10 08:45

6/3/2010 3:59:02 AM 2 =?Utf-8?B?UGFtQg==?= <P...@discussions.microsoft.com>
2007 Concatenation problems

I am using Mr. Hookums formula he gave me for concatenation in Access 2003 and it works fine. As soon as I copy it into 2007 I get error messages. I have tried converting the database to 2007, but get errors. I created 2007 database and imported all files from 2003. Switchboard and concatenation no longer work. Here is what I am getting for messages. Microsoft Visual Basic "Compile error: User-defined type not defined" and here is the code, first three lines below are highlighted yellow; Function Concatenate(pstrSQL As String, _ Optional pstrDelim As String = ", ")

6/2/2010 7:21:53 PM 2 =?Utf-8?B?QWxsZW5L?= <All...@discussions.microsoft.com>
Delete Query not Working

I have tried to follow many of the suggestions in other posts, but have not been able to get this to work. I have a table called DailyCalls and another table called PersonalCalls. A query was set up to return calls in the DailyCalls table that match calls in the PersonalCalls table. When I change the query to a Delete query I get the error: Invalid bracketing of name '[PersonalCalls.PhoneNumber]'. Here is the sql of the delete query: DELETE DistinctRow [DailyCalls].NumberDialed FROM DailyCalls WHERE (((DailyCalls.NumberDialed)=[PersonalCalls.PhoneNumber])); I tried removing b

6/2/2010 5:15:52 PM 5 =?Utf-8?B?U1NpMzA4?= <SSi...@discussions.microsoft.com>
Last record/entry from a table

My table has three columns, AcctNum, TransDate, SeqNum I need a query that only displays the last "SeqNum" when an "AcctNum" had multiple entries on the same day. For example, my table has the following data: AcctNum TransDate SeqNum 1234 6/2/10 698 1234 6/2/10 701 1234 6/2/10 705 In this case, I only want the see the one row with the highest "SeqNum" (which is #705). Thank you, in advance, for your help, I do appreciate it.

6/2/2010 2:26:06 PM 2 =?Utf-8?B?SHVycmlrYW5lNA==?= <Hurrika...@discussions.microsoft.com>
Calculated field question

I have a query that summarises sales data for a particular month and cost centre. The data comes from our accounting system and is held in a single table in my database thus: tblNominal ------------ CostCode - Long Integer ExpenseCode - Long Integer Desc - Text Current - Double YTD - Doube Month - Text Year - Text The query sums the Current & YTD values for a particular month, grouping them by the Description field. This works fine to sum the Sales for say Retail (which is a group of Expense Codes) but I also want the query to show the Margin for that type of sale in a

6/2/2010 2:15:01 PM 2 =?Utf-8?B?V2VtYmxleUJlYXI=?= <WembleyB...@discussions.microsoft.com>
deduct order quantity from credit limit

I have on my customer master, a field for credit limit. The user can input the credit limit for that particular customer. When the user then goes in to the order screen, in the line item section, I would like for an message to come up if they have reached their credit limit. So I know I would have to compare the order quantity against the credit limit. Would I do this in a query? Do I need to create a different type of query instead of a standard one? So I would want to see: Customer Credit Limit Qty Ordered Amt Avail ACE Hardware 650

6/2/2010 1:32:20 PM 1 "klp via AccessMonster.com" <u19...@uwe>
SQL Update question

Good morning, I have 3 fields [printtab], [rotation], & [adn]. Rotation and adn are True/False fields. The printtab is a number field. In stead of having 3 SQL statements, I'd like to update the fields like this: strSQL = "UPDATE tblconfig SET [rotation] = True, [printtab] = 1, [adn] = True" '************* Updates the Config File ************* CurrentDb.Execute strSQL, dbFailOnError When I tried it it kept on giving me errors. Error:3061. Too few parameters. Expected 1. Can it be done like above or do I need to use 3 SQL statements? Thank you for your input. -- M

6/2/2010 1:30:19 PM 2 "Afrosheen via AccessMonster.com" <u46...@uwe>
Free Live Voice and Video Chat!Connect with Over 4 Million Members download now

Free Live Voice and Video Chat!Connect with Over 4 Million Members download now on http://www.tkqlhce.com/click-3714215-10516597

6/2/2010 11:26:00 AM 0 nisha verma <nisha.verma...@gmail.com>
convert currency to string

AMOUNT: CStr([Amazon POs]![Cost]*[Amazon POs]![QtyConfirmed]) How do I convert $45.50 to "45.50" ...? No matter what I do I keep dropping the zero to "45.5" thanks!

6/2/2010 5:20:55 AM 1 "shank" <sh...@tampabay.rr.com>
PLAY CAR RACE GAMES

PLAY CAR RACE GAMES:- PLAY CAR RACE GAMES ON MY WEB SITE AND ENJOY UR MIND FRESH AND U CAN DOWN LOAD ALSO MY GAMES VISIT http://andhraonlinegames.blogspot.com

6/2/2010 4:49:18 AM 0 KAJOL <uknew...@gmail.com>
Inventory Loop

I need a way to loop through an invoice and figure out the number of boxes being used per order. We have the same product that can go into multiple size boxes depending on the quantity shipped. For example: Widget A with a shipped quantity of 1 would go into box A which is 4X4X12 Widget A with a shipped quantity of 2-4 would go into box B which is 6X6X10 Widget A with a shipped quantity of 5 would go into both box A & B (1 each) Thanks Jim

6/1/2010 9:59:05 PM 2 "Jim" <...@gordonferon.com>
Average time with a single entry

Hello there, i have a form with a query that calculates the average processing time for a event and it works fine when there's been more than one entry. I understand that the average of a single time doesn't make much sense, but the user sees BLANK in that field when there's only been one time saved in the database. Is there a way to show the average time if count>2 and show the real time if count=1? Thanks!

6/1/2010 9:49:01 PM 2 =?Utf-8?B?QWxlamFuZHJv?= <Alejan...@discussions.microsoft.com>
Union Query and Field Alias

I have created a union query and now want to create a field alias to specify which records come from which query. The union query works as such: SELECT * FROM [qryTodBefore10] UNION SELECT * FROM [qryTod10To12] UNION SELECT * FROM [qryTod12To2] UNION SELECT * FROM [qryTodAfter2]; But when I try to add the field alias I get the error: Syntax Error in From clause. The error is not any more specific than that. I have tried so many different statements I thought it may be better to just ask: What is the correct syntax to add a field alias called [TimeOfDay]? Thanks. L

6/1/2010 8:30:01 PM 7 =?Utf-8?B?U1NpMzA4?= <SSi...@discussions.microsoft.com>

Pages: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43









Newest Articles

Window Live Mail Auto Forwarding
11 min. 17 sec. ago

Win32.Gael.3666 got past Windows Defender
3 hour 15 mins ago

ANN: IT COULD GO DOWN INTO THE 40's TONIGHT HERE IN THE WINDY CITY SUBURBS!
3 hour 43 mins ago

ANN: THE PRICE OF SPEEDING TICKETS IS GOING UP HERE IN ILLINOIS!
3 hour 47 mins ago

ANN: OBAMA WANTS 2 SPEND ANOTHER 50 BILLION!
3 hour 59 mins ago