Recent content by Phonik

  1. P

    Using a list box on a grouped report

    Morning all...hope your not feeling the cold. I have a report that returns list of open tasks in a workflow management application I have built. In addition to the general fields on the report (Task_Number, Title, Date, Due_Date...etc) I would also like to include a listbox below (within the...
  2. P

    Object required message (Text validation)

    Hi all I keep running into a problem when I perform some basic validation on my form. Basically, when the user clicks an exit button, some code is run to make sure that they have completed all mandatory text boxes. The code I am trying to use is: If me.company_Name = "" then msgbox "blah...
  3. P

    Opening a form using a date as link criteria

    Hi all.. I have a linked table to an Outlook folder (Inbox) and I have a list box on a form within my database that shows the contents of the inbox so that I can read emails to this mailbox from within my app. Unfortunately, as I have linked directly to an Outlook table (Inbox) I do not have a...
  4. P

    Opening a form using a date

    Hi all.. I have a linked table to an Outlook folder (Inbox) and I have a list box on a form within my database that shows the contents of the inbox so that I can read emails to this mailbox from within my app. Unfortunately, as I have linked directly to an Outlook table (Inbox) I do not have a...
  5. P

    Proxy Server

    Morning all I am using the following piece of code to send email via SMTP but I have a proxy server in the way. Can anyone tell me how to connect to the proxy server first please. I know the address and port of the proxy. This code uses a reference library I downloaded. Thanks...
  6. P

    Concatenation for control name

    I have just managed to get it to work!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! You have no idea how much time you have just saved me!! Thank you so much!!!!
  7. P

    Concatenation for control name

    Thanks again.. So where you have writted (ControlName) do I just replace this with variable? DO I need to use the & symbol? I really appreciate you helping me out...
  8. P

    Concatenation for control name

    Hi What happens if I am writing the code in a module and I cant use the ME.?? Thanks
  9. P

    Concatenation for control name

    Thanks for your reply. Im not 100% sure that I can do what I want to with that but I will certainly try... If anyone else has any other suggestions I would be very grateful. Thanks Gareth
  10. P

    Concatenation for control name

    Hi all Is it possible to use a variable to finish the name of a control? e.g. Cell = me.A1 (where A1 is a lablel with the name a1) forms![Myform]! "Cell".forecolor = 65280 What I am basically trying to do is to have a variating control name that i can change the color of.....too long to...
  11. P

    Row number

    Hi Can anyone please tell me how I look up the row number where the value of one of the columns is equal to something. e.e Name Paul John Steve Matt I want to find the row of the list box where the name = "Steve" I need the answer = 3 Please can anyone help... Thanks
  12. P

    SQL failing to pick up list box value

    Hi all I have a form which is used for entering holiday requests. It has fields such as name, type of holiday, date from and date to but it also has a list box value. This list box contains the number of days between the date from and date to and exludes weekends and bankholidays using data...
  13. P

    Can I add a column to a table and give it a name using VBA?

    Hi all I am currently building a holiday planner for my employers and I would like to try and display the days of the year as rows and the staff as columns (Fields). When someone adds a new member of staff, I would like it to also add them to the calendar table as a new column and name the...
  14. P

    Creating a message alert on a record

    Hi Thanks for your reply. The job number is not text it's an autonumber
  15. P

    Newbie - help

    Are each of the seperate words in seperate fields? i.e. Field 1 Vehicle Type = Car Field 2 Owner = Tom Field 3 Colour = Red
Top Bottom