Recent content by sdp_tws

  1. S

    Splash Screen Woes...

    Hi all, I hope somebody can point out my vba errors. What I am trying to achieve is to have a full-screen splash screen open when the databse is opened. This is to be displayed for 10 seconds. In the meantime, 3 other forms are to be loaded in the background. When the 10 seconds is up, the...
  2. S

    Transaction table layout help.

    Thankyou, I'll go for the double entry then, but how would I go about this in practice? I'd need a form that would enter two rows of data. How do you do this?
  3. S

    Transaction table layout help.

    I am setting up a simple personal finance database and wondered if anybody could clear up which is the best way to do the following. I have a transaction table with the following fields: TxnID (PK) TxnType (FK) TxnPayee (FK) TxnPayeeRef (txt) TxnAccountID (FK) TxnDate...
  4. S

    Strange Macro Behaviour

    Perfect! Thanks.
  5. S

    Strange Macro Behaviour

    OK, I have it working after reading your advice, so thanks for that guys. I've taken it on board about the acSaveYes. Just a couple questions though. If I wanted to close and save, I just need to do the DoCmd.Close command and if I want to close and NOT save I need to precede it with a...
  6. S

    Strange Macro Behaviour

    It compiles fine and option explicit does not appear. The example code you supply looks much cleaner. I will try that, but I'm stil confused as at least the message box should work in my code. Incidentally it actually does work if I only include the message box in that sub and nothing else?
  7. S

    Strange Macro Behaviour

    I'm not sure what a breakpoint is but even if the afforementioned test isn't being met, then it should still display my message "Close_Save Macro" first as this is before the if statement?
  8. S

    Strange Macro Behaviour

    Hi everyone, can anybody help me with my very frustrating problem? I have a form which contains a button named "cmd_OK", in vba I have an event "cmd_OK_Click" which contains the following code: Private Sub cmd_OK_Click() MsgBox "OK Button Pressed" ' TROUBLESHOOTING MESSAGE Close_Save End...
  9. S

    Editing multiple switchboards

    That's how switchboards work. It is only one form and access fills in the items in depending on which switchboard you want to display. The code I have given you should change the title of the switchboard on each different instance, but if you want to be able to change the actual design then...
  10. S

    Editing multiple switchboards

    Try this, in visual basic for the switchboard form, edit the code to add two new lines, as shown in red here: Private Sub Form_Current() ' Update the caption and fill in the list of options. Me.Caption = Nz(Me![ItemText], "") Label1.Caption = Me.Caption Label2.Caption = Me.Caption...
  11. S

    Help with crosstab (i think?) query please.

    Hi, thanks for the reply but that is not exactly what I am looking for. The result of what you are suggest would put the people's names as column headings which is not what I want. What I require is the column headings to be 'Trainer 1', 'Trainer 2', etc, with the person's name as the actual...
  12. S

    Help with crosstab (i think?) query please.

    Hi, I am hoping somebody can help with a small problem I am having trying to create a query for use in a report. I am sure it must be a crosstab query that I need to create but I'm not sure how it will work. Currently I have three tables that will be involved, and these are as follows. I have...
  13. S

    Combining two queries?

    Actually, to clear it up a little. I think what I'm looking for is to return the results of two separate queries (both with identical fields) - as one list.
  14. S

    Combining two queries?

    I wasn't sure what to title this thread, as I'm really not sure how this will work so I hope somebody can help. Ok, what I have is a training database, with an employees table, and a training items table. trainingitems table: - trainingitem_id (PK) - trainingitem_description (plus more not...
  15. S

    Adding a margin to a combo box...

    ...is it possible? At them moment my combo boxes look odd compared to the text boxes.
Back
Top Bottom