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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cglisc

  1. cglisc

    Calculate *exact* year difference between 2 dates

    Thank you all for the answers, although down the road this became an excel thread. What I am actually looking for is something similar to oracle's months_between function, and then devide by 12. If you do this in in oracle sql prompt select months_between( to_date('1-11-2006','dd-mm-yyyy')...
  2. cglisc

    Calculate *exact* year difference between 2 dates

    Hello, We are looking for a VBA function to calculate the exact difference in years between 2 dates. The problem at hand is to calculate the years of service of a employee with a company, which is the year difference between now and hire date. DateDiff will not do, since it returns a long...
  3. cglisc

    Select for update behaves differently in 9i and 10g

    We have this statement in our database: select <primary key> from <table> where <primary key> = 1 for update. Issuing the above statement in 9i, results in a ROW-S (SS) shared type of lock on the table. However, in an identical database in 10g, it results in ROW-X (SX)type of lock. we see all...
  4. cglisc

    Need to update records if Report is opened in Normal mode

    Hello, I have a case when if a report is opened in normal mode, ie sent to the printer, the records included in the report must be marked as "printed". Updating the records is the easy part. The difficult part is: How do I know that the report is being sent to the printer and not to preview...
  5. cglisc

    REF CURSOR is closed on the FORMs site

    I have a situation where from FORMS I call a store procedure in a package that has a sys ref cursor in/out variable. When I open the cursor, and test foe %ISOPEN, it returns false. Does Oracle Forms runtime closes the sysref cursor? Testing from sql/plus works fine and the cursor is opened...
  6. cglisc

    Populating a multi-record UNBOUND block

    >Why do you have required items >if the block is not based on a >database object? Because we eventually update database tables with data in the unbound blocks. We set the required property to true to certain fields and let forms do this validation for us.
  7. cglisc

    Populating a multi-record UNBOUND block

    Hello, We have a situation where a form has 2 blocks: A "Main" block and a child, detail block showing multiple records. When a value in a certain field changes on the main block, we open a cursor and populate the child block. GO_BLOCK('child'); open cursor loop and populate child block...
  8. cglisc

    Access 2007 question

    Would anyone know if MS plans to incorporate .NET into the new Access 2007 development environment? Of will we have to continue with VBA? The reason I am asking is that we have an MS access application that we plan to convert to .NET. If access 2007 will be ".NETified" we might as well...
  9. cglisc

    Exact Object Size/Position

    Hello, We are having a problem sizing a text box in a report. The text box is actually a vertical black line, width should be excatly 0.05 cm. We turned off snap to grid options on the report, right-click on the field and choose Object Size and Position from the shortcut menu. In the width...
  10. cglisc

    &quot;look ahead&quot; function

    Hello, I need to print a field on page 1 of a report only if the total number of pages in the current group exceeds 5. Is there a way to know while I am on page 1 the total number of pages in a group. To complicate matter more, the page count is calculated using a formula and is not the...
  11. cglisc

    Show user's contacts on Global Address List

    Hello, Is there a way to show Contacts from my personal exchange account to a global address list that everyone in the organization can see? Thanks, Chris.
  12. cglisc

    ADO lock problem with linked tables from SQL Server (ODBC)

    Hello, We have an application that was developed in MS Access, with the a front end access mdb and a database back end. We use ADO 2.7 to do the SQL work. We are now requried to have 2 versions of this application, both using MS Access and SQL server as the back end database, depending on...
  13. cglisc

    attach tables SLOWWWW when on network

    I forgot to mention that we do not refresh the links, but we actually recreate them. This is because due to security reasons we are required to remove the links as soon as the MDE exists. Probably this is the peoblem?
  14. cglisc

    attach tables SLOWWWW when on network

    Hello, I am looking for advice as to how to speed up attaching tables from an mdb on the network. Our application is separated in 2 parts: an MDE acting as the user interface and an mdb database for data. At startup of the mde, through VB code, we refresh the links to the tables in the MDB...
  15. cglisc

    Sync Public to Local Folders

    Hello, I noticed that in Outlook, there is a checkbox to mark a contact as Private. Where do *non* private contacts appear? We are actually looking for a way to share contacts among our exchange users. What is the &quot;best&quot; way to do that? Chris

Part and Inventory Search

Back
Top