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 Mike Lewis 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. roltrap

    In Application object Printer method is not available

    hi, thanks for answering. OriginalPrinter is indeed dim'd as Printer I use Access 2000. These are my References: visual basic for applications microsoft access 9.0 object library microsoft dao 3.6 object library ole automation microsoft visual basic for applications extensibility 5.3 microsoft...
  2. roltrap

    In Application object Printer method is not available

    Hello, I'm trying to print a report to a specific printer. However when I use this code: Set OriginalPrinter = Application.Printer It doesn't recognize Printer as a method and I get this error: method or datamember not found. Does anyone know how I can make the Printer method available in...
  3. roltrap

    How can I check for no records

    hi Ed, you could do this after querying: Dim rst As Recordset Dim totrec As Integer Set rst = Me.RecordsetClone totrec = rst.RecordCount if totrec=0 then msgbox "no records" regards Guido
  4. roltrap

    Is it possible to not show next record when deleting current?

    Hi, it can be done. If you want to go to a new record after deleting a record, use this code in the same event: DoCmd.RunCommand acCmdDeleteRecord DoCmd.GoToRecord acActiveDataObject, , acNewRec (only for access 2000) Access 97: : DoCmd.DoMenuItem acFormBar, acEditMenu, acSelectRecord, ...
  5. roltrap

    search form

    hi Craig, you can use a fieldlist for that. use a textbox or inputbox to type the name, or a part of it and then use the typed in name to query the fieldlist with that name. (where the fieldlist normally displays all the names) for more information and code go to this thread: How do I let a...
  6. roltrap

    How do I let a user search all records for a particular word please?

    ok, here some more information. the code has to be put in the On_Click Event of the button. If you want the filtered data displayed in a listbox like you said, the code will be like this: dim sWord as string sWord = InputBox("search word") sWord = "*" & SWord &...
  7. roltrap

    Is it possible to open a form maximised when the database is opened?

    yes James, very possible use Docmd.Maximize in the Form_Load() event regards Guido
  8. roltrap

    How do I let a user search all records for a particular word please?

    hi James, this is possible. something like this dim rst as recordset, db as database dim sWord as string sWord = InputBox("search word") sWord = "*" & SWord & "*" set rst = db.openrecordset("SELECT * FROM WordTable WHERE WordField LIKE '" & sWord &...
  9. roltrap

    URGENT!! How to open specific record but must FULFILL 3 CRITERIA!!

    Hi Amanda, I don't see whats the problem. When you douleclick in the textbox for Time, can't you just check whether the criteria are fulfilled? If so continue. if not, display a messagebox. But you probably mean something else? regards Roltrap
  10. roltrap

    access combo box auto update

    hi, you mean you want to add new locations using the combobox? this can be done by using the combobox function NotInList. regards roltrap
  11. roltrap

    Mail Merge filter

    hi, I want to call a mail merge document in Word using Access. The problem I have is that the filter I use (Therefore I use the code below), doesn't work when I push the Merge button after its generated. It shows all the records. However, when I go to the mail merge menu in Word after the...
  12. roltrap

    Opening DBF files...

    Although the answer comes three years later, here we go: the problem is probably that there are duplicate records in the dbase table (or the fields with primary keys have the same value in more than one record) . You should check the table in dBase, remove them and then try again. Roltrap
  13. roltrap

    Time Calculations

    Hi, what you could do is to use a query to the table where you have the date/time field. There you filter the records on the current day and sum all the hours of the date/time field in a cross-table query. good luck! regards Roltrap
  14. roltrap

    Conect to Access database using IP address

    thanx feng '98, but how can I implement this in a .idc file to workaround the datasource?? Datasource: webserver Username: password: Template:web.htx SQLStatement: +SELECT * FROM websource roltrap
  15. roltrap

    Conect to Access database using IP address

    Hi, does anyone know how in vbscript or idc to connect to an Access Database using its ip address? regards Roltrap

Part and Inventory Search

Back
Top