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: *

  • Users: RichD
  • Order by date
  1. RichD

    Access VBA - Checking whether a record exists in a table

    Try using the dcount method: If dcount("Fieldname", "Queryname") = 0 then Msgbox "There is no data to display" exit sub end if HTH Rich Bespoke and off-the-shelf Access solutions www.blsoftware.co.uk
  2. RichD

    Another record lock violation problem

    JAES, I would add another column to your combobox with the required value of your yes/no box. ie -1 or 0. Use the afterupdate event of your combo box: Private Sub Text87_AfterUpdate() me.casefileclosed = me.typeOfInvestigation.column(1) end sub This assumes that the -1 or 0 is in the second...
  3. RichD

    Outlook -Copy to other Profile

    FXP, Thanks for the reply. I will have a look at forwarding. Rich Bespoke and off-the-shelf Access solutions www.blsoftware.co.uk
  4. RichD

    Outlook -Copy to other Profile

    Hi All, I have a problem with Outlook VBA, as follows: I have my own domain name and consequently get everything@mydomain.com downloaded to outlook (mostly junk). There are several users on the same PC with their own profile. What I want to do is copy specific mail items to the relevant user...
  5. RichD

    Excel Chart Data Table - Vertical Text

    Glenn, Its the data in the data table that cannot be read, because the field widths are too narrow for the values. It is a line chart. Keith, Good suggestion I will factorise the values. Thank you both, Rich Bespoke and off-the-shelf Access solutions www.blsoftware.co.uk
  6. RichD

    Excel Chart Data Table - Vertical Text

    I have a chart with its data table displayed (approx 40 values) because the values are up to 15,000 you cannot read them when displayed normally, so I want to display the text vertically. Is this possible? there is no option in the Format Data Table dialog. TIA Rich Bespoke and off-the-shelf...
  7. RichD

    Date Format Not Working as I want

    I had exactly the same problem and resolved it by using ' (single quote) in place of #. To use KenReay's example I changed " AND RequestStatusDate = #" & Format(dtmMax, "mm/dd/yyyy hh:nn:ss") & "#;" to " AND RequestStatusDate = '" & Format(dtmMax, "mm/dd/yyyy hh:nn:ss") & "';" Thanks Ken...
  8. RichD

    My Access wishlist - it turns out to be a Top Ten list

    Only one wish: VBA type runtime (exe), not the 200Mb monster that Access currently creates. Rich Bespoke and off-the-shelf Access solutions www.blsoftware.co.uk
  9. RichD

    IN clause, Inner Joins and Update - is it possible

    Golom, In the end I took the easy way out and linked the remote table in VBA, ran the modified SQL string, then deleted the link. Many thanks for your help, I have learnt a bit more about SQL strings today. Rich Bespoke and off-the-shelf Access solutions www.blsoftware.co.uk
  10. RichD

    IN clause, Inner Joins and Update - is it possible

    Thanks Golom I have put variables in as follows, but I still get the same error: UPDATE [projectcodes] As T1 INNER JOIN [projectcodes]IN 'C:\Updatetables2.mdb' As T2 ON T1.[Code] = T2.[Code] SET T2.[Code] = T1.[Code], T2.[Description] = T1.[Description], T2.[Client] = T1.[Client], T2.[Full...
  11. RichD

    IN clause, Inner Joins and Update - is it possible

    I am trying to use the IN clause to update a table in another mdb. VBA produces the SQL string, but I get Error 3144 Syntax Error in Update statement. The table names and field names are the same in both mdbs. Here is the string: UPDATE [projectcodes]INNER JOIN [projectcodes]IN...
  12. RichD

    Create Windows XP Compressed folder from Access2K

    Ben, Thanks for the reply and the download. I have had a look at it and have just one question. Do you know whether a zip file created in this way could be unzipped by Winzip or PKzip, or would the recipient have to have the unzip routine that is supplied in your download? Thanks again...
  13. RichD

    Create Windows XP Compressed folder from Access2K

    Tranman, Many thanks for your help I will give it a try. Rich Bespoke and off-the-shelf Access solutions www.blsoftware.co.uk
  14. RichD

    Automated Email from Access

    Take a look at Mike Thornton's excellent faq705-1634 in the FAQ section of this forum. I have just used it - no problems at all. Rich Bespoke and off-the-shelf Access solutions www.blsoftware.co.uk
  15. RichD

    Create Windows XP Compressed folder from Access2K

    I am trying to create a Windows XP compressed (zipped) folder from Access 2000 using VBA. I then want to copy files to the zipped folder and email it. The copying and emailing aren't a problem, but I am having trouble in creating the zipped folder. Any ideas? TIA Rich Bespoke and...
  16. RichD

    refer to the shown collumn of a combo and not to the hidden one

    Davide, I am not sure what you mean, maybe using a dlookup would help. Rich Bespoke and off-the-shelf Access solutions www.blsoftware.co.uk
  17. RichD

    Have compiled Table

    The easiest way is to make an MDE file, which prevents users accessing the design or any code. Click Tools - database Utilities - Make MDE File. You then make modifications to your original MDB file and remake an MDE for your users every time you upgrade Or you could implement Acces Security...
  18. RichD

    refer to the shown collumn of a combo and not to the hidden one

    Columns in combo boxes are numbered from 0. The zero column is shown by default. To refer to the second column use comboName.Column(1) HTH Rich Bespoke and off-the-shelf Access solutions www.blsoftware.co.uk
  19. RichD

    Copy and delete tables

    Moxy, I would use tableDefs, something like this: lets assume your tablename is tblX01012004 where 01012004 represents the date Public Sub DeleteOldTable () dim db as databse, Mytable as tabledef, tableName as string set db = currentDB For Each Mytable In db.TableDefs tablename =...
  20. RichD

    No Report Writing Capability in VB.Net

    Thanks Guys, thats what I thought. I don't really want to go to the expense of buying the whole VS package just to be able to produce reports. Do you know if its possible to buy Crystal reports and add it to vb.net and get the same functionality that it would have via VS.net? If not can you...

Part and Inventory Search

Back
Top