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

    Access stock control query

    I have been using the query below to try to provide an accurate stock level from two tables tbl_Delivery and tbl_Sale. I can produce results from 2 queries (qry_DelivertTotals and qry_SalesTotals) that summarise how many of each product have been delivered and how many have been sold. Whilst I...
  2. JR2913

    Using LOOKUP in conjunction with hyperlinks

    There is probably a very simple answer to this problem ,but I have not been able to find anything in the HELP files I have for Excel which moves me towards a resolution. Basically I am using a LOOKUP function to connect the full address and event details (stored in Table 2) to a date and...
  3. JR2913

    Spot the SQL difference

    Apart from the slightly different order of field specifications, can some kind individual tell me what the difference is between these two SQL statements? STATEMENT 1 SELECT GESTUCENTRES.SetId, GESTUCENTRES.StudentId, GESTUCENTRES.CandId, GESTUCENTRES.CentreId, GESTUCENTRES.CandNumber...
  4. JR2913

    Populating combo boxes

    I have two combo boxes on a form. The first box I want to populate with names of the tables in the database. The second combo box I want to populate with names of fields within the selected table. I know how to generate the list of tables, and the fields within them, but how do I get these...
  5. JR2913

    Editing an option group

    I've been away from Access for a few months and feeling very rusty. There is probably a simple answer to this question, though I can't find anything in Access Help or in these forums. How do I edit an existing option group on a form? I have an option group with three tickboxes and now want to...
  6. JR2913

    Saving changes to Excel file

    I am amending data in an Excel spreadsheet from within Access using VBA and then saving the updated file using xlBook1.SaveAs Filename:=Dir & "\tblChildData.xls", FileFormat:=xlNormal, CreateBackup:=False With warnings already turned off, is there a way of amending the syntax to...
  7. JR2913

    Edit Excel cell from Access?

    Is it possible to change the content of a cell in an Excel spreadsheet from code within Access? I have a number of spreadsheet files that need to be imported but the heading of one column is incorrect and needs changing to "SENStatus" before I use the Transferspreadsheet command to...
  8. JR2913

    Combo box question

    I have a combobox that provides a drop down list of users based on the following SQL: SELECT [child surname] & ", " & [child forename] AS [Child Name], tblChildData.childID, tblChildData.[child surname], tblChildData.[child forename], tblChildData.Active FROM tblChildData WHERE...
  9. JR2913

    Find field name in multiple tables

    I have a complex database (not mine, I hasten to add!) with literally dozens of tables. There is a problem with the use of data in one field (LecturerID), which appears in a number of the tables. However, without going through the tables individually on a manual basis, is there a quick way of...
  10. JR2913

    Refresh listbox on subform

    I have a subform linked to data in a separate table to the main form. The data in the subform is linked to the main form by using the ID of an individual. If I select an individual from a drop down box I can requery the listbox (which contains the key data I want displayed) on the subform...
  11. JR2913

    Blank subreports creates errors

    I would appreciate some help with a little problem that has occurred with a financial report (a statement for an individual service user) I have created. The main report shows payments made. PROBLEM 1 - if there are no payments I cannot get the textbox that calculates the total payments (in...
  12. JR2913

    Calculation using data from subreport

    Hello everyone I'm sure this is quite straightforward....... I want to carry out a calculation on a main report form with data derived from the report itself (Total Amount from Receipts) and from a subreport contained within it (which provides total costs chargeable to the individual). The...
  13. JR2913

    Format a number as currency

    I have a make table query where I have a calculated field called Charge. I want to format this data item as currency so that when the table is created the field format is defined as currency. The current syntax in design view for the variable is: Charge...
  14. JR2913

    Move to a record with double click

    I can't get my head round this one today! What's the syntax for double clicking on an item in a listbox to move to that record in the form? Current procedure produces a syntax error (missing operator) in query expression "[LocationID] = ' : Private Sub List0_DblClick(Cancel As...
  15. JR2913

    Tools - References greyed out

    I have an application that has been installed in dozens of locations successfully. However, there are one or two sites where the application, once installed, doesn't start up correctly because of missing libraries, allegedly. When I try to get to the References under Tools in the VBA editor...
  16. JR2913

    Changing the pointer in drag and drop

    I posted this request in another thread and it has probably got lost now, so have resurrected it as a new thread. I use drag and drop in a project I have been working on, generated from the guidance given on the Microsoft site. It works very well between forms by combining the mouse move with...
  17. JR2913

    Update field in specific records

    Using a pop-up form I am trying to select specific records (Child Service Users) from a list box (called Childlist) and then update a particular field (Dateended) in the table (tblServiceUse) based on the date selected in a text box(txtDateServiceEnd) on the form. Using the following code the...
  18. JR2913

    Using SQL in VBA

    I am trying to use the following query to generate a variable in VB: strSQL = "SELECT Count(tblChildAttend.ChildID) AS CountOfChildID " strSQL = strSQL & "FROM tblChildAttend " strSQL = strSQL & "GROUP BY tblChildAttend.[Service ID], tblChildAttend.Date...
  19. JR2913

    Drag and drop from listbox

    I am trying to use drag and drop to select an item from a list box on a subform and drop it into a textbox on another form. I can't get the data selected by clicking to remain with the mouse as it moves across the subform towards the other form - it just continues scrolling down the list. When...
  20. JR2913

    Not enough data being found

    This is driving me mad! I have a list box on a form that should provide a complete list of services that an individual is involved in providing. The SQL used is: SELECT tblServices.[service start], tblServices.[service name], tblServiceLocation.[Location Name], tblServiceRoom.Room...

Part and Inventory Search

Back
Top