Recent content by grendell2099

  1. G

    DSN-Less Connection to SQL Server With Server Authentication

    Hi all. I am stuck trying to find a solution to DNS-less connection between an Access 2010 front end and SQL Server 2008 backend tables using SQL Server authentication. The current environment/ application uses Windows authentication for access to the Server. I want to switch the application to...
  2. G

    Help Referencing SubForm Controls in a Module

    Lagbolt, Songbird, thank you very much for the assist. I went with Lagbolt's example and it seems to work like a charm! I had a little trouble passing the form object, but this seems to work: Dim frm As Form Set frm = Forms!frmsetup Call ChangeFormColor(frm)
  3. G

    Help Referencing SubForm Controls in a Module

    Hi all- I need some help with subforms and subform controls. I have been searching high and low without success. What I am trying to do: I am trying to make a procedure (in a module) that can be called from any form that will change the form backcolor, as well as the color of any text boxes &...
  4. G

    Cannot clear runtime error 3022

    I do not have any code in the backend, not a single line... so I do not believe there is any way for one front end to know what another front end has its variables set to. I think I would have to be running the code from the shared back end for everyone to see it.
  5. G

    Cannot clear runtime error 3022

    Thanks for the idea. I should have mentioned it is a split database, with each user having their own front end. I do not think your solution would work in this environment (though I am very tired so if I may be missing something obvious) . Is there some way to know if a record is being added...
  6. G

    Cannot clear runtime error 3022

    Hi all, I am having trouble trapping runtime error 3022 (duplicate value in a field with no duplicates). For the table in question, when a user adds a record I use code to find the max index number and add one to it for the new record. This works well. However, my current project has...
  7. G

    Query With Multiple Wildcards in Multiple Fields

    I was trying to create a search form that the user could search for a value (or combination of values) in one or more fields. So I assumed if a user did not want to search on "PartNum" for example, that the criteria should "*", and so on. This however did not work for some reason...
  8. G

    Query With Multiple Wildcards in Multiple Fields

    I appreciate all of the feedback... Well, I could not get the thing to work in the query builder. While I was surfing around I found a very nice bit from DCrake that basically parses together a "where" statement based on what a user fills out. That worked very well. Sorry I haven't figured...
  9. G

    Query With Multiple Wildcards in Multiple Fields

    the inspectDate is a date field- I will correct that. But it still does not work even if I remove that criteria.
  10. G

    Query With Multiple Wildcards in Multiple Fields

    I cannot get it to work from the query builder. I can add Like "*" to a couple of the fields, but then I hit a wall and nothing returns... I have checked and the fields are all text.
  11. G

    Query With Multiple Wildcards in Multiple Fields

    Hi all, I need some help creating a search query that has multiple fields & wildcards. I just can't get it working. I created an unbound form with text boxes for each field that a user can search on. the default value is "*" for each box/ criteria. After the user fills in their criteria, they...
  12. G

    Tree View- "No object in this control" Help

    Thanks Rabbie- I tried tinkering with some stuff to no avail. Reinstall seems to be working now.
  13. G

    Tree View- "No object in this control" Help

    Hi all, After several months on hold, I am again trying to develop a project with a treeview. I have downloaded around 8 samples I found laying about this forum. Unfortunately, every single one opens up with a "No object in this control" error... even the ones I was looking at successfully...
  14. G

    primary key in VBA

    Not to steal your thunder Ken, but might this be the sort of thing you are looking for? Supply the table name and name of your index field, it returns the next number. Function GetTableIndex(GetTable As String, GetField As String) As Integer 'DATE: 04-17-08 'PURPOSE: get index number for a new...
Back
Top Bottom