Search results

  1. T

    Public Variables, OpenArgs and Compatability issues

    Hey, thanks for the reply. Good to know what others are doing to circumvent the problem!
  2. T

    Public Variables, OpenArgs and Compatability issues

    Hi all, I seem to have encountered a strange problem at work. I declared a public variable for user department. The user selects his department from a Log On form and if the password is correct, he opens another form with the department variable passed on in openargs. All of this works fine...
  3. T

    Getting to the end

    Okay. Thanks for the advice, Pat!
  4. T

    Getting to the end

    Question though, new staff would be appended on to the current staff table and half a corresponding record in the transaction table, am I right? How about transferring departments? How should I indicate which department the particular staff is being transferred to? I came out with the different...
  5. T

    Getting to the end

    yep, i already have lookup tables for departments and also rates. so i should have only one table with all the people's information inside and another table linked to it which is for storing the transactions? okay, i get understand what i need to do: using the transaction table, there is a...
  6. T

    Getting to the end

    I managed to normalise my initial table into 4 tables each for reclass, new adds, transfer in and transfer out (each linked to my StaffTable by fkStaffID). e.g.TrOutID fkID TrOutMonth TrOutStaff(number of staff transferred out) tblStaff structure: PkID Dept JobDescription CorporateLevel...
  7. T

    Getting to the end

    Hi Pat, you are always enlighten those of us who are lost. :) I guess the whole design had flaws to begin with. I just kept going and going and finally ended with a huge crazy pain in the ***. Haha. Perhaps I have to relook at the whole thing and redesign it.
  8. T

    Getting to the end

    Hello everybody, I am over my head with this problem. I have a table that has details of staff at my workplace. I am using access to calculate the impact of staff movement on our budgeted salary. Thus, I have set up a system in which managers can use some forms to transfer, reclassify or add...
  9. T

    loopy question

    Hey..thanks for the reply. The idea to do all this in vb was because I did not want to create more queries. The [variable] is coined because some tables contain all the fields I require while some only have some I need. The number of sql string might increase because there might be more...
  10. T

    loopy question

    Hi all, Still new to VBA and I am trying to create a function that runs an append query like this: Dim strSQL_1, strSQL_2, strSQL_3 As String strSQL_1 = "INSERT INTO tblConsolidate([variable]) SELECT [variable] FROM qryResults" strSQL_2 = "......FROM qryOtherResults" ...so on and so forth...
  11. T

    Weird Calculation for Union Query

    Good morning, it worked. You may be right that Sum() implicitly converts a string to a double. Thanks a lot!
  12. T

    Weird Calculation for Union Query

    alright, will try it out at work tomorrow. thanks for sharing. weird that I couldn't find that in access help. Something surprising everyday..
  13. T

    Weird Calculation for Union Query

    What function is that?
  14. T

    Weird Calculation for Union Query

    yeah..i know. Yet I am able to sum up the column? Just don't understand why though.
  15. T

    Weird Calculation for Union Query

    Hello everyone, I have noticed something strange in my report. I have a few reports based on single queries where I use text boxes to calculate the sum of a column and a record. For column [Amount], I used =Sum([Amount]) so on and so forth. For a row, I use =[Amount]+[Expenses] to calculate the...
  16. T

    Using custom menu bar commands

    hey thanks for the reply... i know u can do that but was wondering if i could use a menu bar. this saves the users from having to open up another form. was thinking of making a generic report where the record source is determined by sql.
  17. T

    Using custom menu bar commands

    Hi all, I was wondering if you could use custom menu bar commands to open reports and varying the recordsource of the reports according to which command you choose. For instance, if the user wants to view a report for January, he clicks on the January menu bar button. And I do not wish to use...
  18. T

    Delete Record

    Hey, thanks for the reply. Managed to sort it out. Mondays are always blue.
  19. T

    Delete Record

    It does delete a record...why wouldn't it delete? The plot thickens...
  20. T

    Flattened Forms

    Hi everyone, I have an interesting problem at hand. Assume that I have a normalized table with the following structure: Pk fkDept fkAcct Mth Details Amt But...in order to cater to spreadsheet users and also to allow data to be seen at a glance while being entered(as opposed to opening a form)...
Back
Top Bottom