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

    Scroll a listbox control?

    Anyone know how to scroll a listbox control to the row index of the 'first' selected value?? For example, a listbox with 200 items, displays 8 items at any one time (scrollbar down side): Selected items at (say) row# 99, 140, 150, and 155. I do not want to display row index# 0 thru 7, but...
  2. lachesis

    EOF vs Recordcount??

    I have a form with a tab control (each tab reprsenting a country) and two lists: Size and Colour. When the user selects size and colour combinations, the selected size and colour list ids are populated to their respective temp tables. The temp values are later recalled when the user clicks a...
  3. lachesis

    Tab control: on click events

    I have a problem with the behaviour of the OnClick event in a tab control. I'm not familiar with tab controls at all - this is the first one I've used. The main problem I encounter is that I can't get the OnClick event to function on the visible "tab" portion of the control? Am i...
  4. lachesis

    Trigger OnCurrent event without user intervention

    Does anyone know how to make Access think it needs to perform an OnCurrent event, without any user intervention? L.
  5. lachesis

    Strip out leading spaces or zeros

    I wondered if there was a shortcut to this problem. I started writing a function to do this but I've lost my way a bit... I believe there must be an easier way!! I have three text fields: IntSTD - max length 3 AreaSTD - max length 4 Number - max length 8 Together they would form an...
  6. lachesis

    Recordcounts in subform

    I have a kind of general question on recordcounts. The situation is my main form: Company has a subform: Contacts. In a global variable I am passing the company ID, so that the mainform will load with the company details as well as any associated contacts in the subform. In the Form Open event...
  7. lachesis

    Pass record id from continuous form

    I have a continuous form (actually a sub form, but you get the idea). On each record row I want to put an Edit button that kicks the user to another form. What I want to do is pass the record ID of the row whose Edit button is clicked. Is there an easy way to tie the each Edit button to its...
  8. lachesis

    VB Pros please: Form Button click event

    I have a form which is essentially a collection of buttons, navigating users to other forms. Here's what I want to happen: 1. User clicks button for desired form 2. The current form senses the button click event & closes itself 2. The desired form opens. I already have 'open form' macro...
  9. lachesis

    Can a default value be set in a combo box??

    I'm really unsure about this one. I want to populate a combo box with a default value if the user does not put one in. Problem is the bound column is record ID [column(0)], and this has no meaning given that the record ID is an autonumber. I want to default to a value in column(1)...
  10. lachesis

    Combo box parameters from combo box

    I have read extensively on this topic, including here, and I'm close to a solution, but no cigar... yet! I have multiple combo boxes cboCurrencyType which I want to filter from another combo box cboCurrencyPeriod. The idea is that the CurrencyType boxes let the user select the type of currency...
  11. lachesis

    Line feed inside a SQL statement

    Has anyone ever created a linefeed inside the result of a SQL statement? I'm trying to return the results from several address fields, as a combined result with linefeeds: ie. BuildingName, BuildingFloor Address1, Address2, City, State Zipcode Country Im trying to concatenate all these...
  12. lachesis

    TimerInterval events

    If I want a form control to flash several times based on the setting of TimerInterval in the Form_Load events, do I have to put the procedure in the Form_OnTimer event?? L.
  13. lachesis

    List box - <ctrl> key functionality

    Ive never used list boxes before, but they look suited to my purpose. However given my limited knowledge I'd appreciate some feedback. Is it possible to use a list box in combination with the keyboard <ctrl> key, in order to make multiple selections?? If multiple selections are posiible how do...
  14. lachesis

    Update Recordset deletes records in underlying table

    I have a form to display the records from its underlying table, tblCategory. In order to edit existing records from the underlying table I transfer (user clicks 'EDIT' button) the displayed record to unbound fields on the same form. In the unbound fields the user can make any changes & then...
  15. lachesis

    Combo box list won't update

    I have a procedure to add a new record. At the end of the procedure, I refresh the form using: Me.Requery I thought this action would refresh the combo box to include the newly added record, but it doesn't. Do I have to use a statement that specifically identifies the combo box to get its...
  16. lachesis

    Parent-child form display results

    I have a multi-functional form that adds, updates & reviews existing records. I am trying to work out if this approach is going to work given the complexity of the underlying tables. tblCategory: CatCode (PK) CatName tblFeature: CatCode (FK) FeCode FeID FeName In tblFeature...
  17. lachesis

    Msgbox procedural problem

    I'm having a general problem with a msgbox - not a big one - just a procedural one i think. On a form (fmProducts) there are two combo boxes: cboCategory and cboFeature. When the user selects a Category code (cboCategory), this selection filters the list result in cboFeature. However when there...
  18. lachesis

    Persistent focus

    Hi, Im setting up a Registration form. Two of the fields are CompanyName and UserName. I want both of these fields to have data in them of a certain type and format before the user can move on to complete other fields. I've set up validations in the AfterUpdate and LostFocus events for these...
  19. lachesis

    Strip quotation marks from text field??

    I have an unbound text field on my Call Log form that records text into a Memo field in tbl_Call. Trouble is when the INSERT INTO SQL string is built up in VBA code I get errors running this statement, if the Memo field contains any quotation marks, doubles(&quot;&quot;) or singles(''). How do...
  20. lachesis

    Security... one for the pros

    I have a number of forms with dual purpose: - search/display functions - edit/update functions Edit functions are activated on the click of the &quot;Edit&quot; button. The thing is I want to limit the edit or update functions to &quot;Admin&quot; users or members of the &quot;Admins&quot...

Part and Inventory Search

Back
Top