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 SkipVought 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. JimYellow

    Age from DOB function

    I am looking for a function that takes a date of birth and returns the persons age someone must have already written a function for this!
  2. JimYellow

    ODBC connection to MS access 97 database

    the users to an access databace only prevent other users from accessing the data if the db is open exclusively the problem was the iuser account privolages we had a second problem with IIS, it had been changed to ver6 we set it to act as IIS ver 5
  3. JimYellow

    ODBC connection to MS access 97 database

    I have a web site that varifies login taking the user name and password from an access database when a database user has a data object open the login on the website dosn't work when there are no users in the database the login works I have checked exclusive shared propertys within the...
  4. JimYellow

    change spesific printer from VBA code

    I want to change the printer that a report prints to as it prints or just before. depending on the user that is logged in at the time. I can copy the report and print the required version but it would be much nicer if I could just change the printer from code.
  5. JimYellow

    SQL statement for property search

    create a form with Fields (Suburb, xType, Price1, Price2) the fields can be combos, listbox or text box add a listbox called SearchResults configure the columns etc add a comand button called search which calls the procedure below or call it from afterupdate events Private Sub...
  6. JimYellow

    Numbering sequence for a report

    add another feild to the table store an integer 1,2,3,4,5... then add one to this number to track the increment and only add the next main increment when you hit your max value and reset the new field back to 1 or 0
  7. JimYellow

    Combo box dependant on another combo box using 3 Tables

    try a routine like this cut and paste into a vb or vba editor for some colour Private Sub SetSearchResults() Dim strSQL As String strSQL = "" Dim haswhere As Boolean haswhere = False strSQL = "SELECT SentFaxes.ID, SentFaxes.RefNo AS [Fax Ref No], SentFaxes.CompanyTo AS...
  8. JimYellow

    SQL statement for property search

    here is an example of how we build sql strings and set the results in a listbox (its the same for a sub form control sourse) Private Sub SetSearchResults() Dim strSQL As String strSQL = "" strSQL = "SELECT * FROM SurveyDetails WHERE ((JobID) =" & dlgSurvey.JobID &...
  9. JimYellow

    How to execute a Procedure in the Parent form??

    Try 'declration public sub x(y as string) 'Call x &quot;dog&quot; you may need to put your public procedures into a global modual and edit the referances Me. will be replaced be Forms!<formnName>!form!<ControlName>
  10. JimYellow

    Sub form filtering or query

    Use the master child links in the subform propertys set child = box1; list1; box2; list2 set master = field1; field2; field3; field4 try it with one combo or list then add the others in turn if you are setting these from code first set them to &quot;&quot;
  11. JimYellow

    Copying Fields

    Create a local variable set the variable move record (acNext) then copy the value to the field from the variable
  12. JimYellow

    When delete from form and subform will not allow input of new record

    sorry that should be DoCmd.GoToRecord , , acNewRec
  13. JimYellow

    When delete from form and subform will not allow input of new record

    if the current main record is a deleted record then you will get that msg when tyring to add a sub record try Me.refresh or Me.requery OR move to a new record (DoCmd.GoToRecord , , acNext) at the end

Part and Inventory Search

Back
Top