Search results

  1. D

    Duplicate output destination 'txt_FullName

    Thanks, I just tried it but now when I try to save the query I'm getting a message "Number of query values and destination fields are not the same." Just a thought could it be that this is a concatenated field?
  2. D

    Duplicate output destination 'txt_FullName

    I have a piece of code to import a record into a Database, part of it is to update an existing table that populates a combobox. The problem I am having is that I get a message "Duplicate output destination 'txt_FullName'. If the item wasn't in the list I could understand it happening, but its...
  3. D

    Wildcards

    So this is basically concatenation? Im assuming that after update with then bring them all together in the listbox?
  4. D

    Wildcards

    OK i will explain, the form is to allow a user to add items to combobox on a separate form.. The items fall into four categories, Cadaver, Drugs, Explosives and Money. On the form for adding items there is a list box that is Alpha numerically sorted. I want all the items grouped to make them...
  5. D

    Wildcards

    What second block of code please?
  6. D

    Wildcards

    I just put it in the on change event and it didn't work, hence my asking!
  7. D

    Wildcards

    What event should this be put on please? PS Thanks for your patience!
  8. D

    Wildcards

    I'm basically trying to prevent anything being written outside of the brackets. The phrase "Cadaver () is put in the textbox automatically I want the user to be able to add text between the brackets. From the comments it would appear that I'm going about this the wrong way.
  9. D

    Wildcards

    Thanks you, what about if I wanted to search for a wildcard after my brackets I thought that If Me.Breed Like "Cadaver ()*" might work but doesn't!
  10. D

    Wildcards

    Im trying to sort out a wildcard problem that keeps creating a type mismatch. If IsNull(Me.Breed) Then MsgBox "|Please choose an odour type", vbOKOnly Me.btn_Cadaver.SetFocus End If If Me.Breed = "Cadaver (" * ")" Then Me.Breed.SelStart = 9 Else...
  11. D

    Append Query is Able to Repeat the Entry

    Do I still need to make it an Append Query?
  12. D

    Append Query is Able to Repeat the Entry

    I am running an Append Query [qry_AppendToWeatherFromGP] to update some comboboxes as part of an import function. My query is: INSERT INTO tbl_Weather ( Weather ) SELECT tbl_DetectionImports.Weather FROM tbl_DetectionImports; The function is: Private Sub btn_SaveImport_Click() On Error...
  13. D

    Import Problem

    Sorry for the delay, been out all afternoon! The combobox row source is: SELECT [tbl_TypeOfHide].[Hide] FROM tbl_TypeOfHide ORDER BY [Hide];
  14. D

    Import Problem

    Yup, the data is text. Ive added a couple of screen grabs, in picture 1 you can see the name "Trecenydd Ind Est" in the Venue. In picture 2 I have exposed the combobox and its empty as I hadnt added anything to it, except this imported record. Likewise with the field called Hide, when I...
  15. D

    Import Problem

    I have a function on my database that allows a user to import information into their database from another user (after saving the excel spreadsheet to a folder on their machine) (this database is stand alone and not on a network). My problem is that the database contains a number of comboboxs...
  16. D

    Go to a Record on a SubForm With a Listbox

    Solved it, added an ID but didn't export it, then on the import it just auto adds so can use the ID t find the correct record.
  17. D

    Go to a Record on a SubForm With a Listbox

    I have a Listbox that I want to use to go to a record on a subform. I know that it cant be done with the wizard. The records that I am looking at don't have an ID so I want to look at both a date field [TrainingDate] and a Time Field [TrainingTime]. I have set the querry up and the list gets...
  18. D

    Setting Limits in A Textbox

    I get what you mean Bob, I'm not sure how to add the detail afterwards with code though!
  19. D

    Setting Limits in A Textbox

    I thought that I had solved this but it seems not! I have a textbox called Odours, there are four buttons below the textbox btn_Cadaver, btn_Drugs, btn_Explosives and btn_Money. On licking one of the buttons a value will be put in he textbox i.e. pressing the btn_Cadaver will put the value...
  20. D

    Force a Start Place in a Textbox

    Thanks but no, thats not what I need ed, I have found what I was looking for Me.Odour.SelStart = 7
Back
Top Bottom