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. moonbase

    Returning latest transaction

    Many thanks. This has pointed me in the right direction and I'll play around with it later.
  2. moonbase

    Returning latest transaction

    I am sure there's a simple way to do this but I can't get my head round it. I have a master table with accounts (account no, name, etc) and a linked table with transactions, many per account, (date, amount, etc). Is there an SQL statement to retrive the name from the master table with the date...
  3. moonbase

    Cannot Scroll Down Datagrid

    Joe, If you doubt my searching prowess, you should try it yourself. It's easy. I refer to a datasheet view in Access. The data loads instantly. I can zoom up and down the table. The codes are sorted so its easy to find blocks where the first 2 characters are what you want. You then presented...
  4. moonbase

    Cannot Scroll Down Datagrid

    Interesting reponses, firstly addressing whether it's good practice to display 100,000 records in a grid and secondly the problems with the grid, which was the point of the original question. The records contain translation codes and just 3 columns. The codes are sorted and are naturally split...
  5. moonbase

    Cannot Scroll Down Datagrid

    Yes, naughty, missed a 0 from original post. As mentioned, works OK if less than about 66,000. Showing a 100,000 records is valid in my application. The grid allows a quick visual check of the contents of various translation tables. The translation tables are created elsewhere and most contain...
  6. moonbase

    Cannot Scroll Down Datagrid

    Thanks for the suggestion but it didn't work. In fact I want to display 100,000 records but the scroll only works if there are less than about 66,000 records. I tried moving last - the last record is displayed but when you scroll up you get the same problem scrolling down. It looks like a...
  7. moonbase

    Cannot Scroll Down Datagrid

    I have a datagrid displaying about 10,000 records. When I drag the scroll bar down, if I go past about half way, it jumps back to near the top. What's going on? Page down key seems to work OK but it's laborious with so many records.
  8. moonbase

    Is VB to AS/400 possible?

    Thanks, that's useful. I'll look into running my VB application and connecting via ADO/OLE DB or ODBC. As suggested, I'll check out the drawbacks with ODBC.
  9. moonbase

    Is VB to AS/400 possible?

    I have an application written in VB 6.0 and have been asked about porting it to an AS/400 environment. I guess one option would be run my application on an attached PC and connect to the data via ODBC. Is practical to translate the code to a different language? (There is a small amount of user...
  10. moonbase

    Binary to Decimal

    Thanks for the help guys. It actually turned out to be fairly straightforward once I'd got my head round it. But I'd have struggled without your help. This is what I ended up with: Public Function Hex2Currency(HexCurrency As String) As Currency Dim s As String Dim i As Integer '...
  11. moonbase

    Binary to Decimal

    Big-endian
  12. moonbase

    Binary to Decimal

    Thanks, this is along the right lines but when a say the right most byte is 5F, I don't mean a string of 2 ascii characters, I mean one byte, 8 bits. This can represented in this discussion as hex 5F or binary 0101 1111. To get your idea to work I need to create an ascii string of 2 characters...
  13. moonbase

    Binary to Decimal

    Thanks for your help but I don't think you've quite got it. The rightmost byte in my example is hex 5F, this represents 0101 1111 binary, 95 decimal. So to use your code I first need to extract each nibble. Also negative numbers in two's complement format are not just postive numbers with the...
  14. moonbase

    Binary to Decimal

    In the text file there are a series of characters representing a binary number in two's complement format. Conventionally they are represented in hex format: 00 00 00 00 20 5F
  15. moonbase

    Binary to Decimal

    Sorry if the title of the thread is misleading. I haven't got a string of 0's and 1's. It's just binary/hex in the file, e.g. 00 00 00 00 20 5F in hex. So the first thing to do is unpack it.
  16. moonbase

    Binary to Decimal

    Hi. It may (or may not) be trivial but it's not that easy. The original number is for example 00 00 00 00 20 5F in hex.
  17. moonbase

    Binary to Decimal

    The file was generated by a cobol program on a mainframe and I need to access the data. It may be straightforward, I just didn't want to reinvent the wheel.
  18. moonbase

    Binary to Decimal

    I need to convert a binary number, read from a text file, to it's decimal equivalent. It's in two's complement format, i.e can be negative. Does anybody have a suitable routine or can anyone point me in the right direction? Many thanks
  19. moonbase

    Hide Database Window Button

    Thanks but this shows or hides the window. What I need to do is hide the button in the toolbar.
  20. moonbase

    Hide Database Window Button

    How can I hide the database window button in the toolbar by code in an mde file? I have the standard toolbar available in an mde application but need to disable the database window button for some users. Thanx.

Part and Inventory Search

Back
Top