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

    Open/Close Excel from Access

    I have a project where I take an excel form with three sheets and import the data into access. I have got it working using: DoCmd.TransferSpreadsheet acImport, 8, "tbTechnical", "C:\CNS Excel Import\Email_CNS.xls", True, "ExportTechnical" DoCmd.TransferSpreadsheet acImport, 8...
  2. ajking

    copy one recordset to another

    Probably a basic question but I importing 3 excel sheets(Cust, tech, survey) into access tables "Customer", "TempTechnical", "TempSurvey". The excel workbook comes in from multiple locations and, once imported,it is deleted. I have sorted out the import using VBA. this works fine. The Access...
  3. ajking

    Importing from excel and linking tables

    I have an excel workbook which is emailed to me from different people. In this workbook there are 3 sheets Techinfo;Customerinfo;requestinfo I have created an access database with 3 tables that have the same name. The data imports ok (It would be great if you could import all 3 sheets at the...
  4. ajking

    vb editor behaving oddly

    I have been using the VB editor for years without any problem now, suddenly, it has a mind of its own. when I type me. the "[COLOR=red]me.[/color red]" turns red immediately and the object list, which should open after me., just flashs for an instance and then disappears. if I continue the line...
  5. ajking

    Subform listbox problem

    I have an subform on my main form. This sub form has 4 listboxes which are used to populate textboxes on the main form. This works fine but when I go to a new record and then enter the sub form, the listboxes have retained the selections from the previous record. It's probably very simple but I...
  6. ajking

    show/hide field on report

    Is it possible to show/hide a field (xyz) in a report depending on the value in that field? e.g. field(xyz) has text then field(xyz) is made visible else if field (xyz) is blank then field(xyz) is hidden TIA 'Life is what happens to you while you are busy making other plans' John W. Lennon...
  7. ajking

    Query intermittantly not populating

    I hope the following makes sense. I have set up a query that is populated from a record that uses six tables, all linked to the main record number. This works fine and I can see all the data required but occasionally it does not populate. I have to move away from the record, open the query and...
  8. ajking

    listbox rowsource keeps disappearing

    I have an unbound listbox which gets its value from a query. When I run it, the listbox is blank. when I go to the properties of the listbox, the rowsource is missing. when I select the query from the dropdown box, the missing values appear in the listbox. As soon as I go to the next record I...
  9. ajking

    listbox data question

    I have a textbox (customername) which, in the AfterUpdate event shows a listbox which is populated with any existing customer names in the database (user can either, select from this listbox, or carry on with the data entry. All this works fine but what I would like to do is to only make the...
  10. ajking

    find records based on partial search criteria

    I want to show a record based on part of a string i.e.when I enter a customer name into a field[Cust_Name] In the afterupdate I want to use part of the name e.g. "Bloggs" from the entered name "Fred Bloggs widget co." to search for all records with "Bloggs" in it and show each record in turn...
  11. ajking

    workbook not maximizing when protection is on

    I have an excel form which, when it is opened normally will open maximized but when I put workbook protection on, the next time it is opened it opens in a reduced sized window I tried the following without success: Private Sub Workbook_Open() With Application .WindowState =...
  12. ajking

    Listbox in subform problem

    I have a mainform(fmMain) with a linked subform(Data_Selected). I have a listbox in the subform which is multiselect. as soon as I click in the listbox, I get an afterupdate error message "object or class does not support the set of events", Even when the afterupdate event does not have any code...
  13. ajking

    simple visual studio question - updating record

    I have recently migrated from VB programming behind MSAccess and am following lesson09 in the visual basic 2005 express edition regarding updating Database records using a very simple example but, no matter what I try, the source table is not updating. One would presume the instructional video...
  14. ajking

    simple visual studio question - updating record

    I have just moved over from MSAccess vb Programming to Visual Studio and I am stuck before I have really started. I have followed the help video files that came with visual studio and also read and reread the help files. I created the database with a single table (as in the video)and 3 rows of...
  15. ajking

    edit listbox question

    I have a database which has a listbox where you can select a name from the list. this name is placed in a text box and what I want to be able to do is: edit the name and replace the corresponding record with the new name i.e. delete the old name and replace it with the new name. I don't want to...
  16. ajking

    dsum count arror

    I have a table "tbMain_Rec" which contains, amongst others, two fields [Call_Vol] and [txtDate] if I use a basic dsum function eg. Vol = DSum("[call_vol]", "tbmain_rec") the resulting 'Vol'= 75 which agrees with a manual count of the contents of the [call_vol]column but if I use the following...
  17. ajking

    one query from two queries problem

    there is probably a simple answer to this but at the moment my brain has powered down and not rebooted yet! I have two tables (1)"Cust_Details" and (2)"Daily log". "Cust_Details" lists individual customers,item, date ordered, Value of order,Payment received etc. "Daily Log" is for telesales and...
  18. ajking

    convert report to pdf and email

    Is it possible to programmatically convert a report to pdf and then email it as an attachment TIA 'Life is what happens to you while you are busy making other plans' John W. Lennon 1940-1980
  19. ajking

    list box question

    Is it possible to show list box contents over multiple columns instead a long single column? TIA 'Life is what happens to you while you are busy making other plans' John W. Lennon 1940-1980
  20. ajking

    Updating main form from subform

    I have a main form which has a button to open a sub form. this subform has a listbox which allows multiselection of items. I have a variable that holds the resulting string. what I want is that when I close the sub form I want this variable to populate a text box on the mainform so that the...

Part and Inventory Search

Back
Top