Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Rauken

    Question about forms handling

    Are the fields bound? You might want to consider unbound form, it's easier to control the behavior of the data you want to store/modify.
  2. Rauken

    Urgent problem with OnOpen event

    Solved my own problem :-) I moved the code to the Format event. Now each image is created in the Format event instead of creating all at once in the OnOpen event.
  3. Rauken

    How to get Parameter value

    The client has a report based on a query which uses parameter values. In my report I execute code in the onopen event. OnOpen executes before the user can enter the value for the parameter. Anyway around this?? Can I get hold of the parameter value that the user enters?
  4. Rauken

    Urgent problem with OnOpen event

    I'm helping my client to adjust their report in Access 2000 so it can show images stored in a sql server. Everything worked fine until I noticed that the query the report is based on takes parameter values. What happens is that my code in OnOpen event executes before the user has entered the...
  5. Rauken

    Image, Sql server problem

    I solved it check this thread thread705-1047473.
  6. Rauken

    @@Identity

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_globals_50u1.asp From MS: The scope of the @@IDENTITY function is the local server on which it is executed. This function cannot be applied to remote or linked servers. To obtain an identity value on a different server...
  7. Rauken

    @@Identity

    You can't use @@identity on an update, it's just for insert or select into. And I think if I'm not wrong you have to put the @@identity right after the insert.
  8. Rauken

    A solution, not a question!

    Thanks for the star! Yes I agree the solution needed the final touch, thanks. Sorry forgot to close the connection, I'll use your updated code when I install it next week. Whenever I've posted my question on different forums people say, put the images on the network and link with a path stored...
  9. Rauken

    A solution, not a question!

    After numerous cups of coffee I finally found a solution for my problem. It works and I don't know how to do it otherwise. Background: I have a couple of tables in Sql Server, one of the tables stores images. All tables are linked in an Access database which also contains native Access tables...
  10. Rauken

    You and Another User are attemping to change the database

    Yes .Requery is the solution. Had the same problem when doing DoCmd.RunSql statements and then tried to move to another record.
  11. Rauken

    Ado and linked tables

    This is how you do it.. http://support.microsoft.com/kb/q245587/
  12. Rauken

    Ado and linked tables

    I think we can forget my problem anyway. In my query which combines access tables and sql server linked tables I get an image field from the sql server. I want to use ado's stream object to save the image to disc and then show it in a report. I guess I have to do it in two steps. First opening...
  13. Rauken

    Ado and linked tables

    Ok. Going straight against the sql server with ado is no problem. I want to go against the Access database with the linked sql server tables so I don't have to enter userid and pwd for sql server and I want to combine both access tables and linked tables in a query. It might not work that way?
  14. Rauken

    Ado and linked tables

    In my access database I have both regular Access tables and linked Sql tables. I try to use ado and do a simple select * from table on a linked table and I get an error that I'm missing parameters? I can double click on the linked tables and get the result. Anyone knows what's wrong? My...
  15. Rauken

    Image, Sql server problem

    Here it is: Set cn = New ADODB.Connection cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\data\app.mdb;" & _ "User Id=;" & _ "Password=
  16. Rauken

    Image, Sql server problem

    Sorry for the late answer. Unfortunately I don't have the connection string available here but it's the standard way of doing it.
  17. Rauken

    Image, Sql server problem

    Hi! I have a couple of tables stored in a sql server. One of those tables holds images in binary format. I also have Access tables and link the sql server tables into my Access database. If I go straight against the sql server and use Ado stream object to convert the binary to images it works...
  18. Rauken

    Performance problems

    Ah this an old project still using the old horrible asp-vbscript. It would definately be easier and a lot "cleaner" in .net.
  19. Rauken

    Performance problems

    Thanks for the help! I rewrote the stored proc to go straight against the tables and it boosted the performance quite a bit. I'd love more than anything else to have just one stored proc that gave me the result but the report is quite complicated with lots of data. On each vehicle the customer...
  20. Rauken

    Performance problems

    Correction it should be 2500 vehicles :-)

Part and Inventory Search

Back
Top