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 Chriss Miller 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: smitan
  • Content: Threads
  • Order by date
  1. smitan

    Recordsource of form is SP with 2 parameters

    SP: ALTER PROCEDURE ysp_Test (@Param1 int, @Param2 int) AS SET NOCOUNT ON Select * From tblTest Where fldA Between @Param1 And @Param2 RETURN Depending on the values of the parms the recordsource of the form has to be set. Using one inputparm is no problem. But how to use more then one...
  2. smitan

    Stored Proc + DateTime params

    Hi, I try to write a query qith some parameters based on a user record in a table. Select * From tblUser Where UserId=@Param1 This gives the parameters for the rest of the SP. As there are a number of parameters I would rather change the querytext then have many queries. Like: if...
  3. smitan

    Stored Procedure to count files in a directory

    Hi, at the moment i'm using a loop in Access, which counts the files in a directory by using the DIR-statement. This works fine, only time consuming. If Nz(Dir(strPKPath & "*pk.doc")) <> "" Then i = 1 Do Until Nz(Dir) = "" i = i + 1 Loop End If I wonder if I could use a Stored...
  4. smitan

    First free number in a column

    I need to find the first free number in a series of records. Example: tblTabel.Number contains 2000 2001 .... 2010. But number 2004 and 2007 are missing. How do I find this in an easy way. I will make a loop in MsAccess, but that is not the most efficient, when it is about 50.000 records...
  5. smitan

    Programming Outlook Course

    Any sugestion on where to find a free online Programming Outlook Course? I do have a good knowledge of programming MsAcces. So, I prefer a fast way to learn. Thanks, Smitan
  6. smitan

    MsAccess &lt;-&gt; MsOutlook: CreateObject - error

    Hi, In a MsAccess application we create a mailmessage and send it out using MsOutlook object model. Part of the code: On Error GoTo GetOutLook_Error GetOutLook = False Set objOutLook = CreateObject("Outlook.Application") If Err Then MsgBox "Error" Exit Function...
  7. smitan

    Open shared calendar automatically

    One of my users is getting annoyed with opening the same 5 shared calendars every day she starts Outlook 2003. Can this be solved by settings/options or by a piece og vba code or macro? Thanks Smitan
  8. smitan

    Choose twice in combobox

    Hi, I am working with MsAccess 2000 9.0.6926 SP3. Some comboboxes on my form have a very peculiar way of reacting, i.e. they do not react at all, THE FIRST TIME. When choosing the same value again, the afterupdate is fired and the value shown. It happens every time, no matter how often I choose...
  9. smitan

    Write in Outlook Calendar from Access

    Hi, Writing anppointment in the calendar on the computer that the Access application is running is functioning fine. Now, I want to write an appointment into the calendar of one of the other users. How do I do a thing like that? We are running Exchange 5.5 SP4. Thanks a lot. Have a great...
  10. smitan

    EditorType in Outlook=olEditorRTF

    When reading a mail in my Access application I have no problems with most EditorTypes. When editorType is 3 (olEditorRTF) then .HTMLBody doesn't exist and when using .Body it's empty! How do I get the contents of the 'body' of the mailmessage with the olEditorRTF? Thanks very much Hans
  11. smitan

    Access QueryDesigner: Show columns

    For some reason I have no column names in the query designer. In one database the names show, in another there are no names at all, only this 'All Columns' thing. How do I change the behaviour of my query designer? I need the column names to drag my relations and to choose them to be in the...
  12. smitan

    Access - Outlook - Exchange

    Hope this is the correct forum. I have a table with product records. I also have documents relating to these products. After receiving a new document for product XYZ, the document is pointed out and the path/name saved in a table. Any user of my Access application can read this document that is...
  13. smitan

    Access &amp; SQL server

    Hi, I have problems in getting the information in my subform either sorted or added without an error. Using SQL server 2000, there is NO problem at all, using SQL server 7 it simply doesn't work. Changing from 7 to 2000 is no option for my client. The point is that the records of the...
  14. smitan

    Printer control / paper control

    Hi, I wish you all the best for 2004. A group of users is using a different type of printer. On this printer we would like to have the possibility to choose which papertray is used for a specific report. Generally, for all other users, the default settings are used. Is it possible to send a...
  15. smitan

    Dir command from Access/VBA

    I would like know the date of a file in my Access-project. The DIR command gives me the name, no more. Is there another possibility to get this date? Thanks Hans
  16. smitan

    No columnnames in query design

    FrontEnd (ADP) is Access, BackEnd is SQL-server. When I open the querydesign, no problem. Then I make a copy of my mdf-file (for testing purpose), connect to it with the SAME FrontEnd! When I open the querydesign, and drag a table into it: NO Comlumnnames, only tblxxxx.* Any idea how this...
  17. smitan

    Flickering field (ntext 16)

    A field on a form makes the screen flicker when text is entered into it. The field used to be MEMO, in Access, now is ntext 16 in SqlServer. There used to be code behind the field (KeyDown) but I took that away TOTALLY. It unfortunately only happens at my customer, not on my machine. Any idea...
  18. smitan

    Is application (IE) running?

    In a form with company info I open Internet Explorer for the user. This may result in multiople sessions of IE. I could hae a flag to control this, but when the user closes IE, the flag is still raised and IE is closed. There must be a way (via API) to check if an aplication is running or not...
  19. smitan

    DAO / ADO to reach a table in a second db

    Front-end is Access.ADP, back-end is SQL server. I have no problem in getting the data from a table in a second Jet database to be shown and edited in a form using DAO although I would prefer ADO. For som reason it is for me impossible to do the same in a report. In the Form I use: Set...
  20. smitan

    Alternative for Outlook

    We are using Outlook from Access in sending internal mails and automaticaly booking appointments to/for other users. Since I installed the security patch for Outlook my users are not so happy with these features anymore. Does anyone know af a good alternative that works neatly with Access in...

Part and Inventory Search

Back
Top