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

    report calculation questions

    1. How would I put in the footer of the report the total number of records in this report? 2. I have a text box on my form that the user enters how many family members are attending a specific event. How would I put on my report - a total of everyone attending this event (a running total of...
  2. eelsar

    combo box question

    I have a combo box where I added to the "Value List" a few names of cities. How do I make it possible that when the user enters a name of a city that doesn't exist in the drop down value list of the combo box,it gets added to the list so when future users use this combo box this city...
  3. eelsar

    runtime error 94' - invalid use of null

    I have the following problem: On my subforms I assign the first name + last name (from the master form) to a text box in the form_current event of the subform. It works for the current record, however for a new record I get "runtime error 94' - invalid use of null" The database that...
  4. eelsar

    Startup - The forms should fill up the whole screen

    I set the Startup Option to start up with one of my forms. However, when I run the program the form (and any form that is opened up in the program) does not fill up the whole screen. I tried going into the properties of the form to see if there is an option to do this - I didn't see any. I...
  5. eelsar

    selecting multiple choices from combo box

    How do you selct multiple choices from a combo box?
  6. eelsar

    I'm confused w/ code - please help - not sure how to describe problem

    I created a master table with ID(autonumber)as a primary key. Then I made a few tables with ID as their primary key, and it's a foreign key to the master table. In the relationship window I connected the relationship (it's a one to one relationship) I then created a masterform for the master...
  7. eelsar

    Compacrting and Reparing Database on a Network

    Is it possible to compact and repair on close for a database over a network?
  8. eelsar

    Sorting Dates in Access

    I know that one can sort Ascending or Descending however when sorting dates (by selecting Ascending or Descending) in the standard format dd/mm/yy - it gets sorted by year automatically. How can I sort it by month, and within month by day and in order of year. Thank you!
  9. eelsar

    SQL Question #2

    When writing to a database, what SQL keyword do I use after opening the recordset. I tried to do the following and it's not working, can anyone help? Private Sub cmdSave_Click() Dim rst As New ADODB.Recordset rst.Open "INSERT INTO * PersonInfo", cnn rst.AddNew...
  10. eelsar

    SQL question #1

    How do I do the following; I have a form where a user selects from a combo box an Item name. However the item name is not from the table that's connected to the form. Instead it's ID# ( as a Foreign key) is connected to the form. But I want the program to read in the Item Name into the combo...
  11. eelsar

    How to FIND or SEEK in a database?

    Please Help! I'm not sure how to find the records for a specific name selected from a combo box? When I added the names to the combo box I added their primary key as an Index - so when I find it I should search for it by the index that is unique. Does anyone know some code for how to do this...
  12. eelsar

    Why does it disappear

    I have a maskEdBox for phone numbers. When I read in information form the database it reads in correctly and appears as (123)456 - 7890 , like it should. However when I would tab around from box to box on the form the phone number would disappear and in its place would be (___) ___-____. To...
  13. eelsar

    How add items to combo box from Access DB

    How do I add items from an Access DB field to a combo box in visual basic?
  14. eelsar

    I'm not sure what this problem is? It occurs when lose Focus

    I am having the following problem: When I tab from box to box after I lose focus on the box that I ask the user to enter the childs date of birth, a runtime error, "Error 13" occurs (a data type mismatch error). If I manually click in each box and don't tab, this problem does not...
  15. eelsar

    Access Forms in VB

    If I have a command button that I want to bring up a form that was designed in Access, what code to I write for it. The Access database is saved on my desktop. Thank you!
  16. eelsar

    The KeyPress Event and Backspace

    The following code doesn't allow letters to be entered. Private Sub txtChildNumberInFamily_KeyPress(KeyAscii As Integer) If KeyAscii < Asc(&quot;0&quot;) Or KeyAscii > Asc(&quot;9&quot;) Then KeyAscii = 0 End Sub However the backspace character also has an ASCII code that will be ignored...
  17. eelsar

    2 questions on how to figure out a Date Calculation

    First Question: How to I figure out the date difference between two dates, for example 7/8/01 and 8/8/02? Second Question: How do I figure out a persons age based on their date of birth, and that it will constantly update itself as the date changes? Thank you!
  18. eelsar

    How to clear a mask edit box with a date

    I am having the following problem. At run-time I mask the mask edit box date format mm/dd/yy (&quot;##/##/##&quot;). However if the user enters an invalid date such as 99/88/77 then I want to clear the mask edit box. This is what I did Private Sub maskDate1stLetter_LostFocus() If Not...
  19. eelsar

    How to Input Mask in Visual Basic

    I know there is an option in Access to input mask something, for example a phone number. Using the input mask the user would only be able to enter a number in the format of (###)###-####. When the user clicks on field to enter the number it looks the following (_ _ _)_ _ _ - _ _ _ _ Is this...
  20. eelsar

    How and when to connect to Microsoft Access

    I am writing a program that is to be connected to a Microsoft Access Database. The user enters information on the form and that info should go into the database. When should I update all the information into the datase, when the control box loses focus, or when then user finishes with the form...

Part and Inventory Search

Back
Top