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: *

  1. STaL1N

    Running a module from Switchboard?

    its ok i got a workaround. my switchboard now runs a macro which in turn runs the code! thanks anyway!
  2. STaL1N

    Running a module from Switchboard?

    my code is as follows Public Function MergeReportData() Dim strPath1 As String Dim strPath2 As String strPath1 = "P:\Apps\32BitWin\Office2000\PFiles\MSOffice\Office\WINWORD.EXE" strPath2 = "N:\MyWork\ASComp\ASCoursework\rawCompanyOverOneYear.doc" Shell strPath1 & " " & strPath2...
  3. STaL1N

    Incrimenting Numbers

    also in the original code IF NewlyaddedCompanyName = unique then InvoiceNumber = 1 End If IF NewlyAddedCompanyName = has appeared x times then InvoiceNumber = x NewlyAddedComanyName is pseudocode i should have rephrased to IfTheCompanyIJustAddedToMyQuery =...
  4. STaL1N

    Incrimenting Numbers

    i created a form with a new text box and built an expression but the value returned was "#Name?" also i did not know how to incorporate it into an existing query. SELECT [tblJobs].[JobID], [tblCompany].[CompanyName], [tblCars].[Registration], [tblTyres].[Tyre Type]...
  5. STaL1N

    Incrimenting Numbers

    also would i have to call this function and if so where would i do it?
  6. STaL1N

    Incrimenting Numbers

    = '" & NewlyAddedCompanyName & "'") was wondering do i need to amending this to my database? am thinking i dont need to touch this part of the code.
  7. STaL1N

    Incrimenting Numbers

    and would i put this code in a module or..?
  8. STaL1N

    Incrimenting Numbers

    pseudocode for the code i want like is as follows, i am just having problems applying the correct syntax. IF NewlyaddedCompanyName = unique then InvoiceNumber = 1 End If IF NewlyAddedCompanyName = has appeared x times then InvoiceNumber = x this code is an...
  9. STaL1N

    "join key of tblcars not in recordset"

    the relationship between tblcompany and tblcars is a 1 to many relationship between a companyID primary key in tblCompany and another in tblCars as can be seen here: www.v-loaded.com/stal1n/relate.gif
  10. STaL1N

    "join key of tblcars not in recordset"

    SELECT tblCompany.CompanyName, tblCompany.ContactName, tblCompany.Address, tblCompany.PostCode, tblCompany.TelephoneNumber, tblCompany.DateLeftIn, tblCars.Registration, tblCars.CompanyID, tblCars.CarID, tblCompany.CompanyID FROM tblCompany INNER JOIN tblCars ON tblCompany.CompanyID =...
  11. STaL1N

    "join key of tblcars not in recordset"

    This is the error message that is displayed in my form when i i try and add new details. The form runs of a query which runs of two tables which are related appropriatly. The whole point of the form being to add a company and attach a car to it. I can type in the company details fine but i...

Part and Inventory Search

Back
Top