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

    Hiding Database Objects

    Hi In the Design windows I usually right click go to properties and click the hidden button. Is there a way to do this via code for ALL database objects Regards Phil
  2. fabby1

    Closing Screens

    HI I have 12 screens with have a button which takes them all back to the main switchboard where there is an exit button. On each screen in the top right is the X close button, how can I if the user presses this button exit the database. At the moment when you press is it closes the screen but...
  3. fabby1

    Appending a Query

    Hi I have a query that is used in different screens What I want is to change the criteria using the following code Private Sub cboUser_AfterUpdate() Dim qdf As DAO.QueryDef Dim rst As DAO.Recordset Set qdf = CurrentDb.QueryDefs("MainDetailsQuery") Set dbs_Current = CurrentDb G_Surname =...
  4. fabby1

    Date Function

    Hi I have an input box for the date and the user then enters the number of days off Is there a function I can use to add the number of days onto the selected date and exclude weekend and bank holidays Thanks Phil
  5. fabby1

    Code in Querys

    Hi I have a global variable G_LOCATION that is either set to "Like BES" or "NOT Like BES" I then have a wrapper function Public Function LOCATION() As String LOCATION = G_Location End Function This is called from with in a query e.g. Field: Location Table: dbo_Master1...
  6. fabby1

    Wrapper Function

    Hi Im using a wrapper function in a query to hopefully choose between two different events. I set a global variable using Private Sub cboUser_AfterUpdate() G_Surname = Me.cboUser.Column(0) G_Forename = Me.cboUser.Column(1) G_AStaffNo = Me.cboUser.Column(2) G_Password = Me.cboUser.Column(3)...
  7. fabby1

    SET VALUE in EXCEL

    Hi I am trying to set values to words for example the word day would have a value of 5 and the word Night would have a value of 12 and so on. Then I would need to add the words to get the total value. Example: Column1 Column2 Total Day Night 17
  8. fabby1

    Really Easy Query

    Hi I have a table of data that contains exact duplicates. What I want to do is create a query that includes EVERYTHING but but one occurance of the duplicate. Hp you can help Thanks Phil
  9. fabby1

    Combox Display

    Hi I have a combo box that is built from the following sql Private Sub grpUser_AfterUpdate() On Error Resume Next Dim strUser As String Select Case grpUser.Value Case 1 strUser = "DIRC" Case 2 strUser = "BMAN" Case 3...
  10. fabby1

    Subform Data

    Hi I have a Main form and a Subform linked together via the staffno On the main form there is a combobox that the user selects an employee name from. This then populates the Main form with details like Name Address etc. The subform is then populated with his sickness records. What I would...
  11. fabby1

    Funny Problem with Controls

    Hi I have a form that works perfectly...... Until I try and add a new text box as soon as I do I get the following when I use the combox. Run-time '2467' The expression you entered refers to an object that is closed or doesn't exist. BUT IT DOES because 5 seconds earlier before I added...
  12. fabby1

    Connecting to Tables

    Hi I currently have 6 tables that reside in SQLServer. I connect to them through an ODBC connection created on the machine then I have Linked to the table in Access. Is there away that I can create the links in VBA, so that I don't have to create the ODBC connection on the users machines...
  13. fabby1

    Simple Combo Box Question

    Hi I have a combo box chat has two columns Firstname and surname How can I assign the Firstname to one global variable and the Surname to another global variable I can do it on the Firstname as this is the first column G_Forname = Me.cboUser.Value How can I select the second column...
  14. fabby1

    ODBC Updates

    Hi Maybe I need to explain fully. I have a SQLServer Database that I link to through linked tables in Access. this works fine. I can see my tables an update them directly via datasheet if needed. I have a form that contains the Main form and a Subform. The main form is based on a simple...
  15. fabby1

    SQL ODBC Update

    Hi I have an Access database that connects to SQLServer via an ODBC link I can see the table fine. I have a main form and a subform. What I want to do is update the subform with the inputs from the user on the main form. but I get an error Private Sub AddRecord_Click() Dim rs As...
  16. fabby1

    Adding a New Record

    Hi I have a Main form and a subform The user select an employee from the list this then populates the main form with Name, Address etc. And the subform contains anysickness. On the main form there are input boxes for the user to enter NEW sickness details of an employee. There is an ADD NEW...
  17. fabby1

    Subform Recordset

    Hi How do I reference the recordset of a subform from the main form. ? Thanks
  18. fabby1

    Suborm Recordset Clone

    Hi People I have a form and a subform. The main form displays the details about the employee e.g. Name address etc. The subform contains any sickness the employee has. They are based on two seperate querys And they are linked by the STAFFNo 1. Is this the best method I have input boxes...
  19. fabby1

    String Stripping

    Hi I have a series of name e.g. BRANCHADMIN none 101315 - P Mayor 101296 - J Smith 101173 - G Tisdell 101082 - S Penny 100895 - L Butler 100827 - P Flemen 100725 - J Ferris 100674 - J Tailford 100671 - N Carrington 100665 - N Hammond 100456 - C Hillhouse 100452 - L Sunter 100440 - J Mokienko...
  20. fabby1

    Converting 04:30 into Seconds

    Hi I have an input box that the users enters the number of minutes and seconds to include in a query. I need to convert this date format 04:30c (4 minutes 30 seconds) into the seconds equivalent. Is there a function that will do this ? Thanks Phil

Part and Inventory Search

Back
Top