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 bkrike 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: LaCour
  • Content: Threads
  • Order by date
  1. LaCour

    varRecords = rs.GetRows()

    I am using the following syntax to populate the array. varRecords = rs.GetRows() GetRows does not appear to return more than 1 record ... just a 1 dimensional array. I've looped through the recordset to check that there is data there. Maybe I am not referncing my array correctly. Should...
  2. LaCour

    Date Field - Possible to Store Year Only?

    Is it possible to only store the year in a date field YYYY? If this is not possible I will us a number field and allow the user ot select from pulldowns on the form. Thanks in advance Blair ps I think I remember doing thiw with oracle using to_char function from sysdate into a char field...
  3. LaCour

    How To: Disable Scrolling through records

    When a user is at a given form, is it possible to disable scrolling through records with the trackwheel? Thanks Blair
  4. LaCour

    How To: Disable Scrolling through records

    When a user is at a given form, is it possible to disable scrolling through records with the trackwheel? Thanks Blair
  5. LaCour

    Refreshing Form: How to move to top of ListBox with VBA

    I have form with many unbound controls; they are used to generate a filter for the subform when a "Search" cmd button is pressed. I also have a "Clear" cmd button that will reset all of the unbound controls and refresh the subform. Everything is working fine. However, I have a couple of...
  6. LaCour

    Refreshing Form: How to move to top of ListBox

    I have form with many unbound controls; they are used to generate a filter for the subform when a "Search" cmd button is pressed. I also have a "Clear" cmd button that will reset all of the unbound controls and refresh the subform. Everything is working fine. However, I have a couple of...
  7. LaCour

    Execute VBA on Excel File From Access VBA

    I am creating an Excel report via VBA in Access. Then, to remove the new line characters in the Excel file, I run: Cells.Replace What:=vbCr, Replacement:="", LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False from Excel. Is it possible to run...
  8. LaCour

    Initiate bat file or wsh script in VBA

    Is it possible to inisiate a bat file or wsh script in VBA? Thanks Blair
  9. LaCour

    Best Way To Import VBA (or equivalent functionality eg macro) in Excel

    To remove funky newline characters after exporting data from Access, I have the following line of VBA. Cells.Replace What:=vbCr, Replacement:="", LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False I am creating a command button and placing the...
  10. LaCour

    Not Adding Up

    In the select statment, I am trying to add up multiple fields and alias their sum as a new field. Here is a shorter simple example of my ugly fields names: Select (projects.[field1]+projects.[field2]+projects.[field3]) AS [A Sum] From projects The field "A Sum" is coming back blank. Any...
  11. LaCour

    Outer Join In MS SQL

    In oracle you can do an outer join by adding a (+) to the field that is not required to have a value. How do you do the same in MS SQL. Here is an example where clause in oracle that would work: Where table1.record_id = table2.record_id and table1.foriegn_key = table3.record_id (+) Thanks...
  12. LaCour

    Loop Through All Excel Cells

    I have created an automated process to export Access queries into .xls files. The problem I am running into is the fields that have character returns come over with an extraneous character in Excel. The unfavorable ASCI (13) shows up like a small box and I can correct it by using the ASCI (10)...
  13. LaCour

    Exporting table to Excel file

    When exporting a table to an Excel file, there are problems with certain characters. When there is a newline in an Access field, a character that looks like some sort of wingding comes over in its place. Does anyone know of any ways to avoid this or correct it once in Excel? FYI: In Excel...
  14. LaCour

    Use VBA to export query to Excel file

    Is it possible to use VBA to export a query to an Excel file? Is it possible to use VBA to update and existing Excel file? Thanks Blair
  15. LaCour

    How Do Set The Page Layout For "Legal Paper"

    How Do Set The Page Layout For "Legal Paper" This has to be simple, but I can't figure it out. Thanks Blair
  16. LaCour

    Bitmap / Picture lost in Word Doc Conversion

    When I convert an Access report to Word (rtf), I lose the picture that I put in the report. Is it possible to have pictures make the conversion over to Word (rtf)? Thanks in advance Blair
  17. LaCour

    How To?: Display Checkbox as yes / no on a report

    Is it possible to display a checkbox as "Yes" or "No" on a report? Null (if applicable) would also display "No" Thanks in advance Blair
  18. LaCour

    Possible to set criteria in VBA?

    I am creating a report based on a dynamic query. I get a recordset of all records on my main table and loop through it to create 1 report.rtf file for each record. With each iteration I set the qryDef.Sql. This works, but I think it is cumbersome to have this large sql string. It would be...
  19. LaCour

    ?Possible to force page breaks dynamically?

    Quite often in in my reports (usually when showing lists), a field will begin on a page and run to another. Is it possible to force a page break when the field is going to be displayed on > than 1 page? Thanks in advance Blair
  20. LaCour

    Question on Boolean Fields

    When a boolean field is declared, is there a benefit to one Display Control option over the others (check box, text box or combo box)? I am not a fan of controls on tables and it seems like Acess is in favor of it when it comes to booleans. I understand that regardless of which option, it is...

Part and Inventory Search

Back
Top