Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: dwight1
  • Content: Threads
  • Order by date
  1. dwight1

    Can we run a Macro automatically daily?

    I have a macro that i need to run daily. Is there a way I can schedule time for it to run automatically (like DTS)? Thanks for the help.
  2. dwight1

    Date field to sum as Month example Mar 08

    Can some body please help me format my date field to look lik Mar 08. I am using cross tab and i want the date field to be months so that i can use it as columns headings. The report should look like this: Sep 08 Oct 08 Nov 08 XXX YYY ZZZ XXX Any help is appreciated. Thanks
  3. dwight1

    Calculation on a continous form

    Hi, I have a single table containing metrics (fields) on the following: 1. Available working days 2. Actual Work days 3. Total Prouction 4. Average per day (Calculation: Production/actual work days) My question is can i get the calculation for Average per day. User will input Actual Work Days...
  4. dwight1

    How do i calculate the first day of month?

    I have a start date field that i input date in it. I want to automate the field by identifying the start date which is equal to the first day of month. Can anybody help? Thanks D
  5. dwight1

    form button does not run the wizard

    When i drag and drop a command button it use to give me options (small screen) where i can pick my macro, query etc. Now when i drag and drop it just drops without wizard getting activated. Can anyone help? Dwight
  6. dwight1

    Crosstab query on a report

    I am trying to generate a report based on aging by using a crosstab query. Is this possible? As a work around i had made a crosstab and then a maketable query and was using that on my access report. I have client aging such as 0-30days, 30-60days and 60+days. If we do not have any client over...
  7. dwight1

    Random Sampling

    Is there anyway i could get a random sampling out of a population of records for audit purposes? Example, If i have 100 records in a table i want 10 from the table to be picked for auditing. I would appreciate any input? Dwight
  8. dwight1

    Web page in Access with Telephone Number field format

    Hi, I am trying to have a field on the web pages (html) of access with an input mask of a phone number. Example xxx-xxx-xxxx or any other format on the page. I am able to do this in the table field with !\(000") "000\-0000;;# as an input mask. But how do i make the same or anyother format to...
  9. dwight1

    How to create a powerpoint using Access Charts! It is advisable?

    I have a bunch of reports/charts/graphs that i have designed in Ms Access. The next step is to give presentation to the management using powerpoint. I searched the web, and in how to articles from Microsoft i could find a very lengthy code (almost two pages). Not sure that will help in making...
  10. dwight1

    >0 not working with iif condition, fields with text data type

    Hi All, I have an expression that is ExpStep1: IIf([actual loss] Not Like "",[actual loss],IIf([estimated loss] Not Like "",[estimated loss],IIf([exposurecalc] Is Not Null,[exposurecalc],IIf([exposurecalc] Is Null,"No Appraised Value")))) Actual Loss, estimated loss are the fields in the...
  11. dwight1

    Problems with too many decimal numbers

    Hi I have a data type number that i use it in the query. I use the query to make a graph. The problem is in the graph the number of decimal places is almost 8 to 10. I want it to have only two decimal places. For example, I have a number 530678682. I use the number in the query and divide it...
  12. dwight1

    Records only for the last month

    I have a table that has a datefield and acctType. I am currently able to query the number of accounts opened for the current month as follows. DATENAME(month, DateOpend) and in the criteria field = DATENAME(month, GETDATE()). This would give me the accounts for the current month. How do i get...
  13. dwight1

    Create table based on a view

    I want to create a table based on a view. Can any one advise me where i am going wrong? create table AcctsFeb as SELECT * FROM dbo.AcctsMonthly2 WHERE (Jan IS NOT NULL) Thank you Dwight
  14. dwight1

    Left two digits out of seven digits

    I have a field (DATA type Float)with seven digits in it. I want to filter out the first three digits. I am using the following expression. LEFT (dbo.A_CombinedDeposits.ACCTNO, 3) it gives me the following 6007862 ------ 6.0 7006823 ------- 7.0 I do not know why it is adding decimal point to...
  15. dwight1

    Assigning Number by appending.

    I am trying to append the existing Account Number to a table that has a autoincrement field in it. Can any one advise/mention code to accomplish this on the click event of a button. Example.Table 1 Name Amt AccountNumber (ComboSelection) ABC XXX 1234 BCD...
  16. dwight1

    Filter records in DTS

    I want to filter records in DTS. I am transfering data from AS400. The format of the date field is 111805 and 11805. I can use the string WHEN len(LDEPD6) = 6 THEN substring(LDEPD6, 1, 2) + '/' + substring(LDEPD6, 3, 2) + '/' + substring(LDEPD6, 5, 2) WHEN len(LDEPD6) = 5...
  17. dwight1

    Adding Message to VB Code

    I have the following code that helps me in passing a parameter to the sp from a form command button. Can any one tell me how to modify it such that when the user clicks the button it would say "Do you want to add a record" If the user clicks Yes then add record/execute the command else do...
  18. dwight1

    Code to Append record based on combo selection

    I want to append the record based on the combo selection id. I am using the following code. Can any one please correct me where i am going wrong. I have copied the code from a book as i am not much familiar with VB. When i run the following code, it gives error "Object Required". Private Sub...
  19. dwight1

    Performance enhancement through one view

    Can any one suggest how i can unite the following view into one single view. I am having twelve views for twelve months. I am looking to enhance the performance by making a single view (if it's possible). SELECT Name, Jan, BRANCH, ACTYPE FROM dbo.DDAcctsMonthly2 WHERE (Jan IS...
  20. dwight1

    Accounts opened per day, per month, per year

    Hi Guys, I have a date field and the name of the account. I want to make a view/sp/function that would give me the 1. Number of accounts opend yesterday. I am using DATEDIFF(D, CONVERT (datetime, DateOpend), GETDATE()) and setting a criteria as 1 and grouping to know the accounts opened. 2...

Part and Inventory Search

Back
Top