Search results

  1. C

    Photo DB

    OK... Haven't used "Shell" before so.... little fit of dumbness here :) I have 2 textboxes you fill via command buttons.... The photo program "ProgramPath" and one to the image.." ImagePath" The shell like this Private Sub CmdCall_Click() Call Shell("""[ProgramPath]""[imagepath]", vbNormalFocus)...
  2. C

    Photo DB

    What a siimple little code..... :) Thanks Paul... Is this the correct syntax? Works fine...opens window viewer. Where would I insert the .exe of another photo program if I wanted to set up a choice? Private Sub CommandFollow_Click() Dim strPath As String strPath = Me.imagepath...
  3. C

    Photo DB

    I want to do something with a photo DB, but not sure how to make it work.....OK, we've all seen alot of the different, really nice DB's people have done for photos on here...using the path to the folder where the photo resides. Mines set up that way... Basically set up so I can have a memo...
  4. C

    Required field Message

    Do a search on field validation.... You'll find a lot. If you run your own code, your message box will come up first.
  5. C

    'Hiding' unused fields in a form

    "People involved" is a little vague :) Are these multiple people who will have the same "Classification"? For example... 5 or 6 different people working at one location.... You might have 6 or 8 at your second location? If so you could do this with a subform or a linked form... Use datasheet or...
  6. C

    Making sure all fields have data before user can use a command button

    A code I like to use for data validation is below. This is set for the BeforeUpdate event .... But could be changed to a function and called from the onclick event of your button.... OR just put on the OnClick event of your button.... Depends on how you want it to act... Private Sub...
  7. C

    Help needed - query on a form

    Well, after opening the DB, it makes little sense to me.... Maybe someone else can take a shot at this... BUT... A couple things first....again.... Normalize the database. Look at the relationships... With this sentence...... "I have a table [WHEELS] with a list of wheels. There I included too...
  8. C

    Help needed - query on a form

    I'll open it when I get home. But no matter what version you use the table structure is still incorrect. You have duplicate fields.
  9. C

    Help needed - query on a form

    I can't open your DB at the moment, don't have 2007 on this computer.... But, First thing I see is your table structure. WHEELS (ID, PN, SN, OH_CYCLE) OH_CONTROL (ID, PN, OH_CYCLE, ACTION, CONDITION) First, I would not use spaces....they get you into trouble. tblWheels (WheelsID, PN, SN...
  10. C

    Need Help on deselect "Check all" on Check Box!

    Sounds like your checkbox is unbound. In most cases a checkbox should have a field in your table with the value of "Yes/No".
  11. C

    Listbox showing id not value

    You might find it easier to change the "Limit to list" property of the combo box to "No"
  12. C

    Same database, different results on different computors

    Did you actually copy the DB? Or did you import one DB forms and tables and queries into a new blank DB? If you did the import you can choose to import with or without data.... Sounds like you did the later...
  13. C

    Reports are causing Access to crash

    I saw this post and was going to ask if you were moving between versions....03 to 07.... But I see you said you had an attachment field so I assume only 07... I had this same problem on a project.... But I don't think I ever figured it out. I think on mine the reports were being corrupted when I...
  14. C

    One click mapping?

    Not sure exactly what you are referring to... but look up "Find Duplicates Query Wizard" in Access or check this page..... http://office.microsoft.com/en-us/access/HA010345581033.aspx?pid=CL100570041033
  15. C

    Delete record with related records

    I think it might be easier to look at your table relationships. Under "Edit Relationship" (By right clicking on the line joining the tables) make sure "cascade update related fields" and "cascade delete related records" are checked..... if both apply to your app.
  16. C

    Display data in a form depending on user

    Use the visible property.. An "if ....then" statement or a "Select Case"... For an example, this is one for an option group... "Yes or No" to display a textbox for the date if the option is "Yes" Private Sub Hired_Click() Select Case Me.Hired Case Is = -1 Me.HireDate.Visible = True Case Is = 0...
  17. C

    Alternate Rows in Forms - The easy way

    I think the "Easy way" for alternate Row colors is Access 2007 :D
  18. C

    Validatae and clear function in-harmonious

    First, its seems rather odd to be putting these two together..... Your clearing all the text, combo, list and checkboxes..... then running code to execute a message box if they are null.... Of course they are going to be null, you just cleared them. So for this to ever get past the message box...
  19. C

    Validatae and clear function in-harmonious

    For Each ctl In frm.Controls Your running different code on the exact same thing...... Why do you need different tags? Call it "c" or "v" or whatever...... or use a "not isnull"
  20. C

    Validatae and clear function in-harmonious

    If you place a "c" and a "v" in the tag of course this code is going to be ignored... Your tag is "cv" not "c" or "v"........ My first question for the code is...... why? Your clearing textboxes, combos, whatever... that then will obviously return the error message when the second code runs. Use...
Back
Top Bottom