Recent content by noccy

  1. N

    SQL and sorting...

    Ok, Thanks. I will try that approach =)
  2. N

    SQL and sorting...

    I have tried val(), but I use asp.net, and I get an error saying the val function does not exist..... noccy
  3. N

    SQL and sorting...

    That works, but I still get ARB1, ARB10, ARB11......ARB2, ARB20.... noccy
  4. N

    SQL and sorting...

    Why take away -3? noccy
  5. N

    SQL and sorting...

    Hello! I have a problem with sorting. I want to sort a recordset by part of the contents of a field. The field has ARB and then a numeric value: ARB1 ARB2 ARB3 etc I want to order the records by the numeric value. I have tried something like: "SELECT * FROM myTable ORDER BY...
  6. N

    Run-time error '-2147417851 (80010105)':

    could you post the code?
  7. N

    Exit db Then Re-Open On The Same Frm

    1. close the form 2. Open the form
  8. N

    Importing Files W/system Date?

    If you create the columns you need in your table, and then use ADO to add the filenames... This might get you in on the right track Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Set cn = CurrentProject.Connection 'Find all records where Filename is blank (that means that all...
  9. N

    File Locking Problem??

    Anyone know how to solve this problem with ADO? noccy
  10. N

    Joining tables

    Hi! To specify the problem: I get data from two sources. The first set is a list of transactions with date, time, TransactionType, SenderAccount, ReceiverAccount, FinalAccount etc.... All accounts are unique Account numbers The second set is a list of all the accounts, and their owners...
  11. N

    Joining tables

    Hello! I have a table like this: Account1, Account1Owner, Account2, Account2Owner,Account3, Account3Owner. All the account owners are blank In another table i Have Account, AccountOwner How can I join theese two tables in one query so that the accounts get the right owners? I see that i...
  12. N

    ado recordset missing data

    Hello! I use this code to get data from a txt file into a recordset: Dim cn As ADODB.Connection Dim rs As ADODB.Recordset cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\temp\temp\;" & _ "Extended Properties=""text;HDR=Yes;FMT=Delimited""" rs.Open "Select *...
  13. N

    Problem with query

    Thanks You =)
  14. N

    Problem with query

    Problem with query and two forregin keys Hello! I have the folowing tables: TblTransactions[Date, Time, SenderAccount, ReceiverAccount] TblAccounts[Account, Owner] How can I make a query like this: [Date, Time, SenderAccount, OwnerSenderAccount, ReceiverAccount, OwnerReceiverAccount]? I...
  15. N

    Using Dlookup in a query

    The fields SenderAccountNumber and ReceiverAccountNumber are the same as AccountNumber
Top Bottom