Search results

  1. M

    How to refer to parameters in navigation forms in a query?

    Yes, but the fprjconsult is refered in [forms]!f[fprjconsult].[text4], and this doens't work. If I go through the "loaded forms" path, nothing appears under fprjconsult
  2. M

    How to refer to parameters in navigation forms in a query?

    Hi, I did a query which parameter is written in a text box - tprj. This text box is in a form, which is in a navigation control, which is within another navigation control. How can I refer, in the query, to this text box? The navigation forms are nmain which contains nprojects. nmainsub and...
  3. M

    .value and SELECT problem

    Hi, Worked perfectly, and is much more simple. Thanks a lot
  4. M

    .value and SELECT problem

    Hi guys, I'm having an anoying problem and I'm asking if anyone knows how to solve it. I this a simple code: Me.dID.value = "SELECT [tdonors].[id] FROM tdonors where [tdonors].dname = '" & Me.DName.Value & "'" Where the text box dID will be updated with the ID value from a table named...
  5. M

    .value and SELECT problem

    Hi guys, I'm having an anoying problem and I'm asking if anyone knows how to solve it. I this a simple code: Me.dID.value = "SELECT [tdonors].[id] FROM tdonors where [tdonors].dname = '" & Me.DName.Value & "'" Where the text box dID will be updated with the ID value from a table named...
  6. M

    DCount stopped working

    I tested and didn't work... it gives 0, where should give 2 or 3... I will go to a previous version of my db and see if it works there... would be any problem in the registry? or in a bug in the Access? I had another problem this morning with a recordset that was not opening, I went a copied...
  7. M

    DCount stopped working

    Can anyone tell me what's wrong with this code? ' It worked fine before, but for some unknown reason is not counting records anymore. This is to see if is there any record departing on the same date that is the text box ETD_Txt, and if so, will open a second form Everything is stored in the...
  8. M

    <> not equal not working

    Thanks guys, This makes sense now. I will fix it
  9. M

    <> not equal not working

    Hi, I have the an update query that should be looking for records in one field that are not equal to a txt box (txtMovID) and replace them for the value that is in the text box - updating the new MovID in the table. My criteria is: <>[Forms]![fManifest]![MovID] - 'this is to say to look for...
  10. M

    remove multiple listbox items

    Hi, I was trying to use this method to remove items from a list box, however an error message comes and say "run-time error 6014: the rowsource type property needs to be set to 'Value list' to use this method" how do i set this rowsourcetype property? I tried in the listbox properties, and...
  11. M

    Update different fields from subform

    OK, I have an main ID table where I have a pool of persons (IDs) The reg table is supposed to have record about travel. Each travel event can have up to 14 IDs. I want this to be logged for record, so we know that each ID has traveled which several dates (as one person can travel several...
  12. M

    Update different fields from subform

    Hi, I don't understand much of VBA, so I don't even know if what I'm trying to do is possible... and now this smiley is the best expression of myself. :banghead: I have one main form, with a text box that will register a record in a table "tReg" with the following fields (among other)...
Back
Top Bottom