Search results

  1. apr pillai

    Dynamic Query using VBA

    Sample code segment to create a Select Query through VBA. dim db as database dim qrydef as Querydef dim strSql as string strSql = "Select Table1.* From Table1;" set db = currentdb set qrydef =db.CreateQueryDefs("Query1") qrydef.SQL = strSql db.Querydefs.Append qrydef db.Querydefs.Refresh This...
  2. apr pillai

    Returning Crosstab query properties

    Take a look at the code presented in the following link, dealing with the same issue. Dynamic Report.
  3. apr pillai

    SetFocus to a field on an Access Navigation Form Subform

    Check this out:Setting Focus on Field inside Sub-Form
  4. apr pillai

    How to use Stock Tickers

    If you would like to use data from your table/query and display as a ticker on a Form then check this out, to get an idea as how it works: Reminder Ticker Form. This is another example: Wave shaped Ticker.
  5. apr pillai

    Hyperlinks

    Try this on a sample table with one or two records. Change the table field type to Hyperlink File pathname in the table column should be like: #C:\\\FolderName\SubFoldername\filename.xls# Save the table with a name Create a contineous form. Refer this link for more...
  6. apr pillai

    Successfully updating a combobox not in list event

    If Combo box Source data is from a separate table then take a look at this link: Updating Combobox when Not in List is active
  7. apr pillai

    AutoNumber

    Insert the expression within the Before_Insert() Event Procedure on the Data Entry Form. Give the target form control name at the left-side of the expression. www.msaccesstips.com/2012/01/autonumber-with-date-and-sequence-number.html
  8. apr pillai

    Archiving Data - Best Method?

    If you have large amount of old data then you may try the following method to reduce the current database size and enhance its performance: Export the old data into a Table, with the same name, in an external Access Database. Delete the exported entries from the current database Table. Create...
  9. apr pillai

    Show total of query results with percentage

    Check this out: Percentage on Total Query
  10. apr pillai

    Problem with using parameter in query with calculation from date

    Create a separate Column in the Query with following expression: Age:datediff("yyyy",[Date of Birth],Date()) below the Age column write the expression in the criteria row: >=[please input minimum age] When the Query is run user will be able to input the criteria value to the parameter...
  11. apr pillai

    x:\<Database> is not a valid path

    I would like to quote a section of my Article on external linking of tables below for your information: You can find the article here: Link External Tables with VBA Check and re-confirm access rights of problem-users to the Network Server Location are same as others, with the Network...
  12. apr pillai

    Glitch in user-level security for one user

    When the database is secured, the Admin user is removed from the Admins Group. Access rights to all objects will be removed for Users Group as well. This is important because all users are members of the Users group by default and Users Group have full access to all objects of the database...
  13. apr pillai

    Graphs - How to change the chart type using vba code?

    Go through the following Links: Working with Chart-Object in VBA Column-Chart and VBA PIE-Chart Object and VBA
  14. apr pillai

    Text box the searches with every added letter

    You can find the method explained here with the Code: Filter by Character and Sort
  15. apr pillai

    text box value on activate

    You can show Text in the 0 value field itself when the field value is zero. Display the Property Sheet of the Report Text box. Set the following format string in the Text Box where 0 value is appearing: #;;"ZERO";"Null" Change the value ZERO to the required value you want to display on the...
  16. apr pillai

    Query parameters - Too few parameters problem

    Change the statement as given below: Your expression: Changed expression: Like chr$(34) & ([Forms]![TA_CheckList_Preparation]![Combo_TypeOfTrade]) & "*" & chr$(34) The result of this expression will look like the following: Like "CriteriaText*"
  17. apr pillai

    Using Checkboxes to open certain Forms

    You can use better methods to Open your Forms. It is explained with a simple method and with necessary VBA Code in the following Article: Opening Access Forms
  18. apr pillai

    Three Fields Searched in One Query

    Create a new Column in the Query say: Search, joining all the three columns of information with a space: Search:[Column1] & " " & [Column2] & " " & [Column3]. You can use the Like "*" & [EnterTextToSearch] & "*" expression as criteria, under the Search column, to enter the search text directly...
  19. apr pillai

    Change date format

    Date/Time values are stored as Real Numbers internally. Formatting is done to display them in required format. Formatting will not change the data. Change of date format takes place during data entry, depending on the 'Region & Language' setting of the Computer. Assume that the...
  20. apr pillai

    Form from background to foreground

    Normally when a second form is open it opens over the first form. It looks like your Form A has it Popup/Modal property set to Yes, so that it floats over all open forms. Open Form A in design view and check the Popup & Modal property settings and change the value to NO.
Back
Top Bottom