Recent content by drybone

  1. D

    Edit Data in Form

    Yes, you should be able to update your many records in the subform and your 1 record in the form.
  2. D

    Looking for a Query

    Create the query from your table putting in all the fields you want displayed. In the query user name field criteria put: Like "*" & [forms]![form1]![text0] & "*" In the above code, forms is calling your group of forms. Form1 is the name of the search form that you'll create...
  3. D

    Hide Main DB window - only show form - ACCESS 2010

    Hey all, I pasted this code into a module and called it in a form "on open" event: Option Compare Database Private Sub Form_Open(Cancel As Integer) Me.Visible = True fSetAccessWindow (SW_HIDE) End Sub now, whenever I open the form in question it gives me an error: it is...
  4. D

    TXT Tab Delimited

    Is this exported txt file going to be used to populate a pdf?
  5. D

    Comparing to fields in a table to display a cmd button on a form

    This was exactly what I was going for! You sir are a genius, thank you so much for helping me through this problem and teaching me something new!
  6. D

    Comparing to fields in a table to display a cmd button on a form

    This is what I've tried thus far. It does set the height to zero like it should but the can grow and can shrink settings to yes don't collapse the remaining displayed buttons. Private Sub Form_Load() Dim rs As Recordset Set rs = CurrentDb.OpenRecordset("SELECT * FROM TblUsers...
  7. D

    Comparing to fields in a table to display a cmd button on a form

    Thank you all for your help! both ways worked but it seemed like TJPoorman's method requires a lot less typing. Another question for you guys. If I wanted to collapse the space for the omitted buttons to keep everything racked and stacked nice and tight would it be possible? It is a form and...
  8. D

    Comparing to fields in a table to display a cmd button on a form

    ^^^This is my issue and I'm not sure on how to go about writing it. I want the code to lookup a record utilizing the EDIPI then search all the yes/no fields in that record. Any yes/no field in that record that is yes I want displayed and the ones that are no don't display. I need to correct...
  9. D

    Comparing to fields in a table to display a cmd button on a form

    Hello all, I'm having some difficulty running a Private sub. every time it loads, it gets a run time error "2465" (can't find field 'l1' referred to in your expression.) Info to help you all get what I'm trying to explain: Table name = TblUsers It has 26 fields: EDIPI = unique ten...
  10. D

    Filtering reports more effectively

    Ok, I have gotten the thing figured and also, how to condense the data to make the list continuous without large blank areas between selected fields to be generated in the report. If DCount("*", "[TblReqAcc]", "[AdditionalDutyRoster] = '" & Me.AdditionalDutyRoster & "'") <= 0 Then...
  11. D

    Filtering reports more effectively

    Because the report is a catch all for DB access rights. The report is generated from a table that has all the fields included. There are roughly 20 yes/no fields that populate in the report whether they are yes or no. Yes actually populates as yes while the no's are blank in the report...
  12. D

    Filtering reports more effectively

    is this possible to do like dao.recordset but instead of doing it to the records, do it to the fields within the record?
  13. D

    Filtering reports more effectively

    What the end results I'm going for are... If the information is blank in a field then it doesn't display on the report, if the information is there then it displays. That way the admin won't have to go through and sift thru all the areas that are blank or not. it will only show them the areas...
  14. D

    Filtering reports more effectively

    I have a report (RptReqAcc) that I generate from a table (TblReqAcc). TblReqAcc is a temporary table that only holds 1 record at a time. It has a lot of fields contained in it (which are listed below): TblReqAcc: FldUserName (Datatype: text) FldRequestDate (Datatype: text)...
  15. D

    Changing checkbox datatype in query for "make table" type query

    Figured it out! In case someone else runs into the same situation: In the query field, to change the created tables checkbox field from binary to text and have it display Yes instead of "-1" I did this: TblFieldName: IIf(Int([forms]![FrmUserRequest]![TxtbxUserName])= "-1","Yes",)...
Back
Top Bottom