Search results

  1. G

    Record Locking (adLockOptimistic) and T-SQL setup

    I need help to evaluate 'best practice' on the following issue: I'm converting a system from accdb to Sql Server. Sql Tables are Linked to the frontend, using odbc driver. Several users may access the system via separate front-ends for each user. From time to time, me or the user(s) need to...
  2. G

    Max length on Unbound text control

    Hi MajP Works absolute perfect for me! Thank you for this info. Brg. Geirr.
  3. G

    Max length on Unbound text control

    Hi all. I've tried to get my head around uisng mask on a text control on a from, but I believe I'm asking for too much... The problem is that I need to solve is. - Any length but max 10 char/digit/special char. - Any combination of char/digit/special char must be allowed. - When 10 pcs are...
  4. G

    JStreet Access Relinker with two different BE table.

    Hi. At first, I believed there was an issue using the function on two BE's. But as I wrote in second email, I found it works - and works very well! - but as I wrote, I found a issue which I found to be little odd, and could easily lead to error messages. Those five tables belongs to two BE's...
  5. G

    JStreet Access Relinker with two different BE table.

    Hi, and thank you for your reply. I believe I've found something. Let me explain; Common database = CommData.accdb Project database 1 = ProjectData1.accdb Project database 2 = ProjectData2.accdb When jstCheckTableLinks_Prompt runs, the filepicker opens, and the databased CommData.accdb are...
  6. G

    JStreet Access Relinker with two different BE table.

    Hi all. I'm a very big fan of the JStreetAccessRelinker, and up to now have worked perfectly for my projects. But, I've seen that my org. needs to splitt the back end in two different databases, one database for common company recource info, and one database for each project. When using the...
  7. G

    Inderect or direct data access in forms

    Hi. First, please excuse my lousy english grammar... I'm moving my access app from std access data file (be) over to sql server. In the Access app, I am using 'direct access' to underlaying linked table - in the manner that form field datasource are directly to underlaying querry/table. In the...
  8. G

    Best parctice - Auto increment or Natural Key

    Hi all. I've tried to read throug lots of docs on best practice on PK on tables, but.... Background: For electro company in shipbuilding I'created a backend with several tables, one accdb for each project. Many of exisisting keys in those table are same for each project - due to what they call...
  9. G

    Correct SQL Query, DNS Less conn.

    Hi theDBguy and isladogs. First, thank you for your time. After a new walkthroug with the IT guys in our company, I've got acceptance to go back to using DSN and Linked Tables. This mostly when they understood my side of the case, dealing with around 20 different forms, and ca 35 queries...
  10. G

    Correct SQL Query, DNS Less conn.

    As I wrote earlier, it's based on a existing solution using linked tables to an sql server. It's a prject I have built up over a time. I'm familar with setting up queries based on query designer, based on linked tables, releated or not. Based on some issues related to the company I'm working...
  11. G

    Correct SQL Query, DNS Less conn.

    Hi isadogs. Thanks for your efford, but this issues are little new for me, and I'm really strugling on how I can 'transform' the value I need in the Sql for record source. Brgh. Geirr,
  12. G

    Correct SQL Query, DNS Less conn.

    Thanks for the replies! I understand what you are saying, but I just don't know how to figure out how to solve this issue. If you look at the querry, this is a record source to a combo box. So what I did, was just go into the RSource, and changed the underlaying query (based on inked tables)...
  13. G

    Correct SQL Query, DNS Less conn.

    Hi I've run into a case I hope I can get some directions / help on. Background: Moved a Back End to SQL Server. The server management gave me a user name and pw for access to the sql datafile, used when setting up a DNS to the server, using SQL Server driver. Now, for some reason I've been...
  14. G

    Select Sum

    Thanks for your reply. I believe you understod the question because your solution with Me.txtResult =rsCable!SumAvMeter worked perfectly. I just got a totally block on this solution, so simpla as it is...:banghead: Thanks again. -Geirr
  15. G

    Select Sum

    Hi. I'm little stuck here, and I hope I could get some input.. On a pushbutton click event, I have the following code: Private Sub cmdTest1_Click() Dim rsCable As ADODB.Recordset Set rsCable = New ADODB.Recordset rsCable.ActiveConnection = CurrentProject.Connection...
  16. G

    SQL Tables and Releation

    Hi. Thanks for your reply! I did'nt mean to be to general, but the problems is that I will deal with several projects. In each project I will have the same products (product ID) and location (location ID), but the combination of product and location will not be the same for each project. So, no...
  17. G

    SQL Tables and Releation

    Hi. I have a question which might seems little odd, but I hope I could get some guidance here...:) I have a main table, lets call it Project. I have some seondary tables, which have the realtion back to the Project table, with the Project ID as relation link. Then - under one of the...
  18. G

    ODCB Call Failed - Run T Error 21472117887 (80040e21)

    Hi. Thank you Jleach for your time. The case is that I am using a 'dsnless' solution with the connection with sql server authetication hardcoded in the program. And I believed this would be ok when using standard recodset def and open, like: Dim rsTable As ADODB. Recordset Set rsTable = New...
  19. G

    ODCB Call Failed - Run T Error 21472117887 (80040e21)

    Sorry for wasting your time. I forgot to inform the most important (maybe) that I am am usng ado all over the project. I'm little familiare with errorhandling, but I haven't use it on ado connection before. If you have version for ado, I would be glad, because i couldn't find a verison I could...
  20. G

    ODCB Call Failed - Run T Error 21472117887 (80040e21)

    Hi there! Can: Item not found in this collection. .. be the answer you want? if not, please excuse my stupid question on where should I put the code - ?DAO.Errors(0) Geirr.
Back
Top Bottom