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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by daklem

  1. daklem

    Looping through fields in a query

    Thank you Golom and Jerby, Just what I needed
  2. daklem

    Looping through fields in a query

    Golom, Thanx, I will try that and let you know how it works.
  3. daklem

    Looping through fields in a query

    randy 700 I just need to know if there are any nulls, not which field is null
  4. daklem

    Looping through fields in a query

    Hi all, Is there a way to loop through the fields in a DAO recordset without refering to the field names. I would like to be able to determine the number of fields in the recordset and loop through all the fields checking for nulls on the fly. Thank you for your help.
  5. daklem

    Next without For error

    I figured it out. I forgot the "End If" before the "Next i" Thanks
  6. daklem

    Next without For error

    Hi, I have the following code in an on click event to check if all the fields in a query have data. A message box displays which fields are missing data. I continue to get a "Next withot For" error when this code runs. Any suggestions? Private Sub cmdQueryTest_Click() Dim db As...
  7. daklem

    No focus

    Thanks earthandfire and missingling for your responses. The unbound text box worked just fine.
  8. daklem

    No focus

    Hi all. Is there a way to open a form without any of the fields on the form having focus, or will the first field in the tab order always have focus?
  9. daklem

    Not In List Event

    Doesn't work right. This is what I have right now: Private Sub cboPhySelector_NotInList(NewData As String, Response As Integer) strTitle = "Physicians" strMsg = "Would you like to add " & NewData & " to the " & strTitle & "?" Response =...
  10. daklem

    Not In List Event

    Thanks Ken, Sounds like that might work. I am not at my database right now but I will try your suggestion and get back to you.
  11. daklem

    Not In List Event

    Thanks Ken, Let me be a little more specific. There are 3 tables: tblPatients PatientID (auto) (PK) PtLastName PtFirstName tblPhysicians PhysicianID (auto) (PK) PhyLastName PhyFirstName tblPtPhyDetail DetailID (auto) (PK) PatientID (FK) PhysicianID (FK) Both the Patient and Physician...
  12. daklem

    Not In List Event

    I have a subform which shows demographics for a physician associated with a patient on the main form. There is a combo box to select a physician's name which then fills in the physician's demographics if the physician already exists. If a new name is entered in the combo box, the NotInList...
  13. daklem

    Adding a record using a form

    Cailo, Are you opening the form from the database window or from another form? If its from another form, create a command button and in the OnClick event procedure for that button put: DoCmd.OpenForm frmName, , acNewRec Where frmName is the name of your form. If you want to open the...
  14. daklem

    NotInList Help

    Let me clarify things a little. I have two tables: tblPatients PatientID (PK) (auto number) FirstName LastName PhysicianID (FK) tblPhysicians PhysicianID (PK) (auto number) PhyFirstName PhyLastName There is a main form with based on tblPatients and a subform on the main form based on...
  15. daklem

    NotInList Help

    Hi, I'm a little unfamiliar with the debugging tools. Would you be able to walk me through the process?

Part and Inventory Search

Back
Top