Search results

  1. R

    lets try a different angle

    Ok I have eveything as listed above and its a bit more clear to me now but I am getting "undefined function 'prevrecvalc' in expression" error 3085. Any ideas on this one?
  2. R

    Can't update fields in query

    I think I read that in Microsoft Access 97 developers handbook. So I have learned to confuse access by having 2 queries and beating the system. BTW I am self taught in access which would explain my unconventional solitions to problems ;)
  3. R

    Can't update fields in query

    Norm I don't think you should have any troubles. When you create your main query add the student query and your grades table and just make the relationship right there in the Query. showing all data from student query and only the grades that apply.
  4. R

    Can't update fields in query

    I've got the same issues! I really need to go through and get rid of things.
  5. R

    lets try a different angle

    Ok let me make sure I have this straight... The code should read: Function prevrecvalc(Keyfield [trans] As String, KeyValue, _ field to getzip As String, Tablenameshipmentlookupwcode As String) The red being the actual text after deleting the description. where I am confused is what the...
  6. R

    lets try a different angle

    Trans actually is the unique value and Primary Key for that table. Ok I tried to adjust according to what you posted and here is what I have now: Function prevrecvalc(Keyfield As String, KeyValue, _ field to get As String, Tablename As String) And the expr in the query...
  7. R

    Need help with Error 3070

    I see that if you open it through the search form you don't get the error. The search form must be open and data selected so the report (chart) to retrieve the data it needs. Although I have not been able to populate the chart with any data it could be I am using the wrong parameters.
  8. R

    lets try a different angle

    Ok Rich, I got the Method or Data member not found issue figured out. I had to change Dim rs As Recordset to Dim rs As DAO.Recordset. But now I have a new issue. I think I am messed up with the Source. here is what i have in the module: Function prevrecvalc(Trans As String, KeyValue, _ Zip As...
  9. R

    Record Entry in another table

    I guess I have to ask why you would want to have duplicate data? If you can put a relationship together to copy the data why couldn't you leave the data where it is and attach it to data in the other table via relationships?
  10. R

    Delete development data and insert production data

    I run into this quite often. I simply import the tables with the live info into my copy and adjust the fields as need then move the whole access file onto the server. (Note: Lock everyone out of the live copy before importing data and untill you get the new version back up)
  11. R

    Can't update fields in query

    you can't edit or add text through a query with more than 2 tables directly attached. you can however create another query then create a main query from the other query where you would only have 2 tables or queries in the main query and it should work. IE design a new query [studentsubquery]...
  12. R

    Find Record

    just create a macro in the "after update" control in your fields properties to close the form.
  13. R

    lets try a different angle

    That might work to Pat. See I have an API that I is returning miles. Currently on my form I have point to point miles for several stops on a trip. I would like to total the miles for the trip at the bottom of the page. So the 3 ways I can accomplish this is by A) call the API from the query so...
  14. R

    lets try a different angle

    Ok Rich, Got it all makes sense. but now when i debug it stops at "FindFirst" and tells me Method or Data member not found. which doesn't make any sense because it works in PrevRecVal. I do have the DAO 3.6 object library active.
  15. R

    lets try a different angle

    I think that would do it because then I could call the API from the query as well then its all down hill from there. (I think) I have several ways I can get this data but I can't get any of them to work :(
  16. R

    lets try a different angle

    sorry I am getting extremly frustrated!! I will clean it up.
  17. R

    lets try a different angle

    I have a continuous form with zip codes listed in each record. I would like to combine all of the zip codes in a single field. I can get it to pull the zip from the current record but not the rest. how would i: [Zip] next record [zip] and so on the number of records can vary from 2 to 10...
  18. R

    how do you sum in VBA

    here is what i got please tell me its something stupid i have wrong: Code: Function sumiles(shipmentlookup As Form, milesfromdll As Double) sumiles = DSum(milesfromdll, [shipmentlookup]![Form]) End Function and in my control sorce i have: =sumiles([shipmentlookup]![Form],[milesfromdll])
  19. R

    how do you sum in VBA

    I know I posted this below but i thought it might be a bit cluttered so I am cleaning it up and re posting... I have a form with a function that calls an API and returns miles between 2 zip codes. I need to sum the miles but access does not allow summing of a calculated fields. So what I would...
  20. R

    visual display of volume

    try using the chart wizard under create a new form.
Back
Top Bottom