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 Wanet Telecoms Ltd 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: Hosacans
  • Content: Threads
  • Order by date
  1. Hosacans

    VB 6.0 to call MS Access Macro

    Hi all, I'm trying to make an .exe using VB 6.0 to call an MS Access macro. I found the following code on the web. Set your project references to MS Access x.x object type library and try running this code: Public Sub RunAccessMacro(strDB As String, strMacro As String)...
  2. Hosacans

    Deployed package installation error from Access 2000 Developer

    HI All, I recently started working with the Access Runtime tool in Office Developer 2000. I've successfully packaged a database and also deployed it to a machine that doesnt have Access installed. however, when i run setup for this package in that machine, i get an installation error that reads...
  3. Hosacans

    shrinking subreports to fit in main report...

    Hi All, I have 3 sub reports each with different widths, and one of the sub reports is too wide for a letter size layout, even with margins set to zero. Normally i would adjust the content of the subreport to fit the main report. But in this case, i cant find any more space to give, and the...
  4. Hosacans

    Error on multiple find/select do loop

    Hi All, I have a spreadsheet with multiple columns that contains the same header. I want to write a macro that will delete the entire column with that header. here's what i have so far N(1) = "Pen %" N(2) = "LY R Sls " N(3) = "LY U Sls " N(4) = "Chg %" N(5) = "TY U EOH...
  5. Hosacans

    How to extract images in Access stored as OLE objects?

    HI All, the database that i am using is getting to big due to the ole objects. I searched in the Access VBA forum and found that there's a way to display images on reports using a link. I am going to try converting my database to that but first i want to extract all the images i've stored on my...
  6. Hosacans

    Another text string to Date conversion problem

    Hi All, I am importing with an excel file that has a date column but as text format. all the values in this field is formatted as "mm/dd/yyyy" ex. "06/15/2007". i am stuck on converting this text string to a proper date in Access. many attempts were made by using a combination of dateserial...
  7. Hosacans

    Why does OLE Objects takes up some much space?

    Hi All, I am working with jpeg images in an Access database using OLE objects. i notice that once i paste an image onto a record, the actual memory size of the database becomes bigger. The database grown substantially as i continue to import more images. This is causing a problem because it's...
  8. Hosacans

    Excel: Find Function starting from the end of the text

    Hi All, I have a column of text, and i need to shorten them by locating the last ":" and taking all the text behind it. my thoughts lead me to use a combination of right() and find(). but the problem is that there are several ":" in each text. and find() only looks for the first one from the...
  9. Hosacans

    Stuck on import multiple excel file loop

    Hi All, I've been stuck on this for the whole morning. Public Function XLfilelookup() strFolder = "C:\EXCHANGE\XLfiles\" With Application.FileSearch .NewSearch .LookIn = strFolder .FileName = "*.xls" .Execute For i = 1 To .FoundFiles.Count...
  10. Hosacans

    Another ranking by item question.

    Hi All, As PHV advised, i start a thread to better discribe my access query problem. I'm trying to rank style performance by two fields, EOH_U and ST. Please have a look at sample data Time Cntry_No Chnl_No Loc_No Div_No Style EOH_U ST 1Day 2001 200 0 1002 2007R023RQ3040 183...
  11. Hosacans

    conditional criteria in query - beginner question

    Hi All, I'm stuck on a query. I'm trying to select records based on their stock position and also based on location. if the loc_no is less then 10, i only want records with more than 50 units. then if loc_no is >10, it can return all records. i'm using Access 2000, please help. here's what i...
  12. Hosacans

    pulling top 20 records from "multi-tier" table

    HI all, I receive a raw file each day that reports on sales performance to ALL products in the whole business organization. The file is drilled down to item level and the hierarchy of how the data is categorized is by Store>Product Dept>item id. i want to pull the top 20 performing items by...
  13. Hosacans

    Top Values not working in a query builder SQL

    HI All, I have a report that has a SQL written in the record source. it's just a simple select statement that picks out records from a table, with it's records sorted by descent from one of it's fields. i want to limit the amount of records pulled by this query, but the Top Value function...
  14. Hosacans

    Blank report during print preview

    Hi all, everyday I run a stats report from an access database. And every once in a while (which often occurs in one of those busiest of days), Access will give blank reports when i go into the print/preview mode. usually, i would import raw data (text files). start a macro that runs the...
  15. Hosacans

    How to change main report header when different subreports displays?

    Hi, I have a report that have several subreports embedded. How can i change a label in the main header section to reflect the type of the subreports being reported? i.e. i have 2 subreports, one by region, one by store type... how can i make a label in page header of the main report to...
  16. Hosacans

    opening access database and running access macro from excel

    Hi, I been wanting to figure out a way to open and run an Access database from excel. i currently use a excel macro to reformat a text file to fit the formats and field names of my access database. after reformatting.. i would maually open the access database and run a series of access macros...
  17. Hosacans

    using transferspreadsheet in macro with variable filename

    Hi all I have a database that will be distributed to other computers and use to run off other data with same formatting. in the pass i would manually reset all the file directories that links raw data (excel files) from local hard drives. But now i am trying to create a form that will prompt...
  18. Hosacans

    Expand Range in a cell

    HI, i am stuck on this part: i ahve a cell with a range: a1 = 004-010 how can i list the numbers in this range? so b1:b6 = 004,005,006,007,008,009,010 consecutively... thanks hosackies
  19. Hosacans

    Difference between fields of two records with same ID

    Hi all, well i am not sure how to describe this in the appropriate terms. so pls forgive me... here goes.. i have a table off from a query that has IDs and units. How do i group similar records together by IDs and create a difference between units... see illustration. (query1) IDs |Units...

Part and Inventory Search

Back
Top