Search results

  1. K

    Group By first 3 digits of 6

    If numeric, create a GroupBy field like FirstThree: +int([Dept ID]/1000)
  2. K

    Survey database design...

    Perhaps I should mention that the AnswerType and ValidAnswer tables are only being used for data input convenience and validation. The actual answers themselves for each response are stored in tbl_Answers, which effectively is a M:M linking table between tbl_Response and tbl_Question. So...
  3. K

    Survey database design...

    Perhaps I should have named the QuestionType table to be AnswerType to be more intuitive. I DO intend to do much as you suggest. Let me put in some sample data to show what I mean: tbl_QuestionType ( soon to be AnswerType) 1, YesNo 2, Range1to5 3, Range10to40byTens 4, WindowsOS...
  4. K

    Survey database design...

    {moved from Theory... forum, as I think this is more of a 'general' question} I am trying to set up a database that manages responses to a variety of survey questionaires, and I want to know if I am on the right track before I proceed. Sorry if this gets a bit verbose: Here's the general...
  5. K

    Push data from current record in form into a new Excel file, using Excel template

    OK, I figured a bit out on my own. I am using .GetObject to open the existing XL file, and then a SaveAs to make a copy of it. When I open the new XL file by normal means, everything is OK. However, when I open the same file via another GetObject call, the worksheet is hidden, which I can...
  6. K

    Feel like you need a break from your job?

    Hey, the liberals in Ontario have promised a Feb holiday (but only if they win the pending election!). I think they plan to call it 'Gullible day"
  7. K

    Opening an Excel Spreadsheet and getting :2

    You even get two copies of your posts about the problem on this forum! ;)
  8. K

    Push data from current record in form into a new Excel file, using Excel template

    I searched the archive and didn't find quite what I was looking for, so.. I have an Excel 2003 spreadsheet work-in-progress being used as a template (developed by others) to prepare project cost estimates in a complex regulatory environment. We are 'modelling on the fly' for a number of...
  9. K

    I Love You MS Access.

    If you do a web search, you can find some info on this issue. Basically (no pun intended), he chose to a) make decisions that limited the address space to 20 bits (or 1M addresses, and then b) arbitrarily put the 'system memory' stuff at the top of the address space rather than the bottom, so...
  10. K

    I Love You MS Access.

    Well, he DID personally design the whole damn operating system (or at least the parts that he didn't steal from CP/M), back when he was a poor college drop-out, and mapped out the address space such that 640K was DEFINED as the upper limit (before his team contrived such things as expanded and...
  11. K

    I Love You MS Access.

    There was nothing wrong with it, other than that it wasn't VB(A) (which was also quite limited, in that era) The only reason VB took off and became a pseudo-standard was Micro$oft's relentless support for it. I remember dbII and the hubbub when dbIII became available, and deciding whether to...
  12. K

    Selecting records based on multiple criteria

    You could also have gotten away with 2 queries: The first one selects only card#'s with a matching 0100 transaction record. (You can use the DISTINCT operator to eliminate multiple returns) The second uses the result of the first, and selects only those with an 0802 matching record.
  13. K

    Storing Multiple Ranges per record...thoughts?

    Be VERY careful allowing NULL as a 'valid' value in a record. I'd use the 5230 value (or a 'special' value like -1). There's some recent discussion on the 'theory' forum if you want to know why.
  14. K

    Store a calculated value?

    I am curious why you would want to store these values, assuming that all of the fields in are always available. Couldn't you just calculate these in one or more queries, at the moment when you need them? You can create appropriate summary queries to calculate all those things from the raw...
  15. K

    Import and Linking Table Problem!

    You could add a dummy record at the top of your Excel data that contains alphanumeric info in all of the fields that need to be of type text. If necessary, filter the dummy record out before you use the rest of the data.
  16. K

    Happy Canada Day

    Sigh. Newman: This is not intended to be a flame. This is my honest opinion. I just get a bit frustated by this issue-that-will-not-go-away. You mentioned 140 years as the length of time that Quebec was not controlled by France. However, effective control was lost in 1759 on the Plains of...
  17. K

    max # of rows that will paste into Access

    If you have a file containing >65K records, why don't you try importing this DIRECTLY into Access as a table? Access supports a variety of file formats, and comes with a wizard to assist with most straightforward data layouts.
  18. K

    What's your best/worst joke?

    Also left out: 1 (Micro$oft Employee) to say "In the new version of Micro$oft Bulb, we couldn't figure out how to change the lightbulb, so we redefined the standard to 'dark' ".
  19. K

    DB Design questions

    If you use a field of type number/integer, then you can match with a pre-existing vendor number (VN). You then have to ensure that you are inputting a valid VN in your new tables. Making a join in the relationship window with Referential Integrity (RI) enabled should ensure a match.
  20. K

    Lookup Fields

    Back to the original issue: Do these prices change with time, or are they absolutely constant? If they are constant, you do not want to store them in another table. Build a relationship and look them up as needed. So, the answer depends on the stability of the price values. If they DO...
Back
Top Bottom