Search results

  1. apr pillai

    Login System

    If the User Name is going to be always 5 characters then try the following example on a new form, you will get the idea: Open a New Form in Design View. Insert a Textbox in the Detail Section. Display the Property Sheet (F4). Add >LLLLL;;_ into the Input Mask Property. Change the Autotab...
  2. apr pillai

    YTD for previous years

    I assume that you are going to specify the start date value as constant like #01-01-2011# in the criteria row in the Query. The second expression for the enddate you may use the following expression: dateadd("yyyy",Inputbox("Year +/-"),date()) While running the query a msgbox will appear with...
  3. apr pillai

    Turn off double-sided printing

    You may try out the code presented on the following link: Network and Report Page Setup Add a line of code (the second line) after the following line as shown below: . . DM.intPaperSize = DM_PAPERSIZE DM.intDuplex = 1 . . Remove the following lines from the Code that changes the Report Page...
  4. apr pillai

    Problem displaying pictures on forms

    Check the suggested method on the following link to display image on the form: Storing Bitmap Images in OLEObject/Attachment Fields
  5. apr pillai

    Records from now until end of next month

    OR Between Date() AND dateserial(year(date()),month(date())+2,1)-1
  6. apr pillai

    Question How to apply workgroup security level in access 2007

    The User-level Security features available in MS-Access ends with earlier versions of Access2007. If you convert your Access2007 Database into Access2003 (.mdb) files you can implement Microsoft Access Security features into it in Access2007 itself. When you open an .mdb file in Access2007 you...
  7. apr pillai

    Do not display form until fully loaded

    The following procedure Opens Form1 in Normal View but in Hidden state. Next enters into a delay loop of 10 seconds that gives Form1 to complete it's action in memory and after which Form1 Object is selected from memory (rather than from Database Window) to make it visible: Public Function...
  8. apr pillai

    Records and Images

    Perhaps you can find your answer from here and device a method yourself: Storing Bitmap Images in OLEObject/Attachment Fields
  9. apr pillai

    Making a control have a fixed position

    You may place the Close Button on the Footer of the Form.
  10. apr pillai

    Sum Query ?

    I will show you a similar example so that you can do it yourself. Sample Query that Sums up a Student's Total Marks of all subjects in one column, based on the Student's Name entered in a text box on the Form (say [WeekofYearText]. Sample Query: myQuery SELECT Sum(tbl_Students.Marks) AS...
  11. apr pillai

    Question Reading multiline column values into an array

    check the modified code: Dim rs1 As DAO.Recordset Dim rs2 As DAO.Recordset Dim rs3 As DAO.Recordset Dim db As DAO.Database Dim strSQL1 As String Dim strSQL2 As String Dim strSQL3 As String Dim docTitleItems() As String Dim respPerson() As String Dim distList() As String Dim dlitems() As...
  12. apr pillai

    Pie chart in a form

    Sorry MarioD, I was away and didn't see your post. The Database in Access2003 format is attached. Screenshot of the form is also attached.
  13. apr pillai

    Pie chart in a form

    A sample database is attached. A Unbound Textbox is added on the Form to summarize allocated hours for day, with the DSum() Function. A Query (QryBooking) is created (for Chart) to summarize allocated hours. A Temporary Table (tmp_Bookings) holds the Allocable Total Value. Data in both...
  14. apr pillai

    Problem copying & pasting from Excel to a form

    It is better to organize the data in a separate Worksheet on Excel itself first. Let them Copy the Cells and use Paste Special - - > Paste Links method to organize each record under the appropriate headings on the new worksheet, one record below the other. This will keep the original data...
  15. apr pillai

    Question Access System.mdw Change Passwords

    If you have Administrative Rights on the database then you can do this. Open the database. Goto Tools - - > Security - - > User and Group Accounts. (See the attached im age.) Select the User Name in the Name control, under the User heading,you want remove the existing password. Click on the...
  16. apr pillai

    MS Access Chart only shows Sample Data

    You must copy and paste the Data from Table/Query to the Chart Data Grid. Check the following link for guidance: Ms-Access Graph Chart2
  17. apr pillai

    Append query issue

    If you are running the Queries in a Macro then disable the warning messages by setting SetWarnings to No and reset it at the end with SetWarnings to Yes. In VBA do this with Docmd.SetWarnings False and at the end True.
  18. apr pillai

    List all open databases

    Answer to your first question is given below: Public Function dbsTest() 'This Code is running in the Current Database and running under Workspace(0) 'Besides that a second database (c:\mdbs\ChartSample.accdb) 'is opened under the same Workspace on the same machine 'This program will give the...
  19. apr pillai

    Populate textbox from table

    . . strsql = "Select Website from Handler_contact where Haendlername = '" & ListBoxSel & "'" Set rs1 = db.OpenRecordset(strsql) 'how do I get the bound textboxes with data from database? Me![TextboxName] = rst1![Website] rs1.Close Set rs1 = Nothing . .
  20. apr pillai

    HELP NEEDED.. Beer to anyone who has the answer!!

    Check whether the Excel File and Access Database Locations (folders) are included in the Trusted Locations List? Office Buttons - -> Access Options - ->Trust Center - -> Trust Center Settings - -> Add New Locations. Add Excel & Database locations, if they are not already present. Then you may...
Back
Top Bottom