Recent content by rtdc

  1. rtdc

    Gotorecord, , acNewRec

    I am probably being dumb but I am stuck on a silly problem, all I want to do is when my form opens its sub form which is set to datasheet is ready to add a new record so you can just type straight off. The sub form record source is a string which works fine, this opens at the first record. My...
  2. rtdc

    Append SQL result to Table

    I got it to do what I wanted in the end by just exporting to Excel and bringing it back, not as clean as I would like but it does what I intended. Its more an exercise in can I do it rather than it must be done, I could have done it an easier way but I wouldn't have learned anything that...
  3. rtdc

    Append SQL result to Table

    Sorry I didn’t make it clear. When I said ‘pre-existing table with the same field names as used in the sql.’ What I meant was the same field names that had been searched on in the SQL query. In my example Make, Model and Transmission but these could be any name from the Car List table that I am...
  4. rtdc

    Append SQL result to Table

    I tried this approach and works until I want to pass it the variable field names, what I need is the code to insert into temp (any number variable filed names) from (sql result) Can it be done?
  5. rtdc

    Append SQL result to Table

    I have spend hours trying to work this out and either to thick, rusting or its very hard :) What I want to do is take the result form a sql query in vba and append it to a pre-existing table with the same field names as used in the sql. My SQL query is Srch = built on a form and in this...
  6. rtdc

    SQL - using varibles

    Thanks Rx this is exactly what I needed, your a star.
  7. rtdc

    SQL - using varibles

    I need to make the field name created in the ‘as’ statement in this sql a variable I can call in RS.??? What I have so far: - Srch = Me.Select_field & " as " & F1 When run this reads “[Car List]![Make] as Make” which is correct Set RS = CurrentDb.OpenRecordset("SELECT " & Srch & " FROM [Car...
  8. rtdc

    Accdr issue

    You gave me an idea, I renamed it to adp (which the orginal 2000 file was) and hey presto it opened, so my predecessor had created the accdr from a adp file. Sorted :)
  9. rtdc

    Accdr issue

    I have an issue where a database has been packaged using the Access 2007 developer tools and has been installed giving the user a accdr file, the issue is that the original source file the accdb does not exist for some reason and I need to modify this file. The person who created this database...
  10. rtdc

    Automation error

    It is something wrong on the PC itself as the db doesn't run even in full blown access but works fine eleswhere, I have tested all the libaries, installed access extras and compared the pc to working ones, I can't see anything wrong its one of those stinkers. :confused:
  11. rtdc

    Automation error

    I have checked all the libaries used and all are fine, some are newer on the non working machine though. Does that matter? This has got me stumped, if it didn't work full stop then yes i could fix it but the fact it works elsewhere fine is odd. The report it is trying to open will open if done...
  12. rtdc

    Automation error

    Good plan, I have installed Access 2007 run time and full blown later for debugging but it does have Access 2000 on board to. I will check all the library ages on Monday, it has to be something to do with them. Cheers..
  13. rtdc

    Automation error

    I have checked my references and all are fine (According to Access) and stepped through the code, it breaks at ADOX.catalog however the code works on all the other machines Win XP and Windows 7 alike. I think missing library even though it says all present but even though i have tried i cannot...
  14. rtdc

    Automation error

    I have an issue with a Access 2007 runtime installed database, this file works perfectly on most machines except two and even on them it will not if full Access. It uses a connection to SQL server to get its data which works as the database opens and allows interrogation of the tables via...
  15. rtdc

    Need DDEInitiate replacement

    I have a situation where an Access 97 runtime operating database which was running fine on Windows 2000 and Word 2000 has been moved the Windows XP and Word 2003. Now none of the DDEInitiate commands work, all this code did was open the word doc as read only something the users insist on...
Back
Top Bottom