User Profile
Collapse
-
Bound to a text field in a different form?
I have a form which has several text fields. One of the text fields is the primary key in the table behind the form and once I type something into this text field, all other text fields populate (they are bound to the table). I would like to add another form and have the text fields on the 2nd form be bound to the primary key of the table (the text field from the 1st form). How would I go about to do this? -
Keyboard Shortcut to Open Hyperlink in Outlook
Is there a keyboard process to open a hyperlink in an e-mail in Outlook 2007? Thanks -
How to fix syntax error on iff statement
I have a column labelled "date_st". I am trying to assign a period to the record based on the "date_st". I wrote an iff statement code, but I am getting syntax errors. Can anyone point out where the errors might be? Thanks.
...Code:Iif([date_st]=>12/26/2009 and [date_st]<=1/23/2010, “P1 2010”, iif([date_st]=>1/24/2010 and [date_st]<=2/20/2010, “P2 2010”, iif([date_st]=>2/21/2010 and [date_st]<=3/20/2010,
-
Only Command in Access
Hi, I have two matching columns in two tables. The first column contains a unique transaction number while the second column is the date associated with the transaction. I would like to connect the two tables so that it returns only the transactions that are in both tables and where the date in table 1 is greater than the date in table 2. Is there an "only" command in Accesss which will allow me to do this? -
Can't add properly in Expression
I have a table with columns A, B, C, D. In column E, I have an expression that says Expn 1: [A] + [B] + [C] + [D]. Some records in columns A, B, C, D have null values. When I run the query, only records with non-null values in all four A-D columns will add. If there are one or more non-null values in any of the A-D columns, column E will also return as null. Any one know a solution for this? -
Where are the articles located? I don't see a section for them on the site -
No critieria in query search when drop down box is empty
I have a query that is connected to a form. There are 2 dropdown boxes in the form that are connected to two columns on the query. I would like the query to search for all records if those 2 dropdown boxes are left empty, but currently if either one is left empty, no records are returned. Anyway to get the blank dropdown boxes to convey "search with no criteria"? -
"either" join option
There are normally 3 join options in Access:
1. Records must be found in both tables
2. Records must be found in table "x", but not table "y"
3. Records must be found in table "y", but not table "x"
Is there a join option that includes all unique records from both tables? -
This code is currently in Excel, and there's no option for "Convert Macros to Visual Basic" in ExcelLeave a comment:
-
Paste as CSV macro code for Excel
I am currently using the code "Selection.Past eSpecial Paste:=xlValues " for a macro that pastes values only. Does anybody know the command for paste as CSV? -
Still haven't found a process for this yet. Right now, I am grouping first by "Case Number" and then doing a Max for "Time the Agent Touched Case." If I include "Agent ID" as a group by after "Time the Agent Touched Case", I'll get multiple records with the same case number. I am trying to only find the "Agent ID" associated with the last "Time the Agent Touched Case".Leave a comment:
-
Hi Jerry, I am not trying to use the openquery function to run the query. Rather I am trying to find the command that goes into the "Criteria" line of a query that will compel the query to use the inputs on a form's textboxes to set the parameters for the queryLeave a comment:
-
Incorporating text boxes are query parameters
I have 2 text boxes that I want to use as the criteria for a column in a query. Right now I am using the expression "> [Forms]![Main]![Text3]" as the criteria for the column. Where "Main" is the form and "Text3" is the name of the textbox. Unfortunanly, when I run the query I get an error saying there is an error in this expression. Can anyone explain where the error is? -
Routing e-mails into a database
I get an automatically generated e-mail several times a day. The e-mail always comes in the same format telling me the barcode, the description, why it is being returned. Is there a way for me to route these e-mails to an Access database and for the database to automatically update a table using these e-mails? -
Taking corresponding record using max function
I have a table with 3 columns. The columns are "Case Number", "Agent ID", and "Time the Agent Touched Case". There are multiple records of the same "Case Number" since a case can be touched by multiple agents at different times. I am trying to find the last agent who touched the case and the time they touched the case. I can find the time by using the Max function in a query, but how do I get Access to... -
Tried the shift-click and cntrl-click; the security settings are still there. I don't think any locks were disabled.
How do you disable macros in Access?Leave a comment:
-
The backup was deleted along with all the corresponding secured database filesLeave a comment:
-
Restoring a Secured Database?
I have a secured database that had all its corresponding files deleted (bak, image of screenshot, .secure file). I have tried rebuilding this database by copying and pasting the objects in it into a new database, but because it is secured, I can't do this with forms, reports, or macros in the database (I can't look at their design either). Is there a way to restore the functionality of the database either by restoring the original database or by... -
Syntax Error - Cannot Produce Expression as Part of Aggregate Function
I am getting the "cannot produce expression ..... as part of aggregate function" error everytime I try to run a query with this expression
New Run and Centralization Occurance Dates are the tables in the database and date, gl date, and key account are the...Code:Pricing: IIf([New Run]![Key Account] Is Not Null And [New Run]![Date] <= [Centralization Occurance Dates]![Gl Date],"Pricing","None")
-
Thanks for this code Adezil. I tried incorporating it into my queries, but can't get it to run smoothly. Here is my VBA code for the two queries that ask for the user input before I added any of the code you provided.
...Code:SELECT DISTINCT rpt_vwCaseData.CaseID, rpt_vwCaseData.Date_ST, rpt_vwCaseData.TeamID_PrimaryAgent_ST, rpt_vwCaseData.UserID_CreatedBy_ST, rpt_vwCaseData.CaseTypeName, rpt_vwCaseData.sIssueName, rpt_vwCaseData.DateClosed,
Leave a comment:
No activity results to display
Show More
Leave a comment: