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. mcfarland

    Basic Search text box

    Hi Steve. I’m not sure about a couple things in your code. First, where you have “stDocName” should be your table name. Is that “QU-CompleteResourses”? I’m not sure about this, but I wouldn’t Dim it. Second, I’m not familiar with the “%”. It may be ok, but I normally use Chr(34)? Perhaps...
  2. mcfarland

    Edit multiple records from a listbox

    Good work! Ken, thanks for your patients. John
  3. mcfarland

    Basic Search text box

    This may not work completely how you want it to, but it may provide a good start. I set up a text box to type a keyword (txtFind) and a listbox to return records with this keyword (lstQuery). The following is the vb code. ******************Code Starts Here****************** Private Sub...
  4. mcfarland

    Edit multiple records from a listbox

    Thank you for you help so far, Ken. I figured that I could give you a star. I fixed the “ctl” statement and it seemed to work. Now, the Debug is taking me to the “Set Rs = CurDB.OpenRecordset(SQLStmt, dbOpenDynaset)” line. When I drag the cursor over the “SQLStmt” portion of the statement...
  5. mcfarland

    Edit multiple records from a listbox

    I’m using Access 2000. That seemed to work for the “Rs.Edit” problem. However, I’m seeing another error with the “Set ctl = Me![ID]” line. “ID” is the unique primary key in tblData. How should I define what has been selected in the listbox, which is named “lstPostTrx”? The following is the...
  6. mcfarland

    Limiting a Combo Box

    It sounds like you need an event procedure that is triggered after you update the first combo box ("Subjects"). I'm not sure how your tables are setup or what the field names are, but I'm assuming that you have a field for teacher names and a field for subject in the table named...
  7. mcfarland

    Edit multiple records from a listbox

    Thanks Ken. I revised my code to look like the following but I’m still getting the same error. Could the Dim variables be incorrectly defined? When type “Rs.”, the auto drop-down list doesn’t contain “Edit”. Does that matter? John Private Sub cmdPost_Click() Dim CurDB As Database, Rs As...
  8. mcfarland

    Edit multiple records from a listbox

    My MS Access form contains the following items: · An unbound listbox with the Multi Select property set to “Extended” that queries unposted transactions (PostingStatus = “Open”) from a table named “tblData” · A command button named “cmdPost” I would like to select various records from the...

Part and Inventory Search

Back
Top