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 bkrike 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: ChrisN
  • Content: Threads
  • Order by date
  1. ChrisN

    BoundColumn and Combo Box

    I am using three data combo's attached to 3 separate ADO Data Controls. When the first combo box has one of it's list members selected, this is passed as a parameter to the SQL which populates the second combo. However, once I click the original combo, the first value has been replaced by the...
  2. ChrisN

    Conditionally formatting report sections

    Is it possible to hide/supress a group header based on the value of a field in a higher level group?? Thanks in advance. Chris
  3. ChrisN

    Simply applying code to a number of controls

    Hi, I have some 40 controls that I need to call the same piece of code (a public sub created in a module) when each control loses focus. I was just wondering if there was a quick way to kind of do this once or do I just have to paste the sub's name into the LostFocus event of each of my 40 or...
  4. ChrisN

    Backup and Restore (7.0 and 2K)

    Hi, Our company has a production database (sql2000) on a server in China. In the UK we run sql7.0. Is it possible for me to make a backup of the database in China and restore it to the SQL server in the UK, after transferring the backup file over a secure connection. If not, is there anyway...
  5. ChrisN

    Screen Updating

    Hi all, I have an application with some 30+ forms. Based upon a security table that I have set up determines which menu buttons are available to a user. However, upon logging in the user can see all of these forms having there various buttons enabled/disabled. Is there any method of hiding...
  6. ChrisN

    Equivalent of MS Access IIF function in SQL?

    Is there an equivalent to the MS Access IIF function in SQL?? TIA Chris
  7. ChrisN

    Determine text box contents (multiple boxes)

    Is there a quick way to determine whether a combination of three text boxes each have entries, i.e. 1&2 or 1&3 or 1,2&3 without using multiple IF statements??
  8. ChrisN

    Send focus back to previous control

    Hi If I run a procedure on a text boxes contents when the text box loses focus, how can I return to that control if an error criteria has been met? TIA, Chris
  9. ChrisN

    Replacement for .Edit when used with recordset

    In the past (probably in DAO) I have used the following; with rs .edit !field1="xxx" .update end with Is there a direct replacement for this in ADO? TIA, Chris
  10. ChrisN

    Avoid change event if change made is not by user?

    How can I avoid the change event firing if the change to the textbox is made programatically i.e. automatic. I only want the event to fire if the change is made by the user typing the changes. Any help is greatly appreciated. Cheers, Chris
  11. ChrisN

    Disable Menu Form Controls

    Hi, I have a form which acts as a main menu for my application. However, I want to disable certain controls on this menu based upon some values that I have stored in an array (integers). Basically, if I encounter a zero in the array, I want to disable a specific button based upon the position...
  12. ChrisN

    Automation Error writing to SQL database

    When I try to write a transaction to my SQL database through my application I get the following error message: Run-time error '-2147417848 (80010108)'. Automation error The object invoked has disconnected from its clients.
  13. ChrisN

    P&DW crashes when trying to create CAB file for App.

    I have a pretty major problem in which my application causes the P&D Wizard to bomb out as soon as it trys to create the setup.lst and cab files. Has anyone seen this before and if so know of a solution or workaround. TIA, Chris
  14. ChrisN

    Control forms controls without loading the form

    Is it possible to manipulate the state of controls displayed on a form without actually loading the form? I have a number of forms with Chinese and English labels on them. If the user requests a change of language I need some controls to be visible and others to be invisible. Can anyone help...
  15. ChrisN

    Joining 2 queries to make 3rd query in code

    I have a SQL7 database. I don't particularly want to store queries (views) in the database itself so I was wondering, is it possible to create two sub querys then join them together in order to get the correct result set in VB. The result I need cannot be done in one query (At least I think...
  16. ChrisN

    Calculation returns null if one value is null

    I have a query which pulls two quantity fields from different tables. If there is no related record in the second table then I cannot subtract one from the other cos the second value is null. Basically what I want to know is, is it possible if no related records are returned to return a zero...
  17. ChrisN

    Auto setup ODBC Data Source during program setup

    Is it possible to create an ODBC datasource when installing a program that requires one, or do you have to do it manually afterwards?
  18. ChrisN

    Displaying Foreign Chars (Chinese)

    Hi, I have a SQL Server database that contains both English and Simplified Chinese characters. However, no matter what I try I cannot get them to display on my report correctly, all I get are strings of question marks i.e. '???????'. Has anyone had any success with a report such as this? I...
  19. ChrisN

    Database client encoding

    Hi, I have a SQL 7 database which contains some unicode data which consists of Chinese characters. I need to display this data in a crystal report but this will not work unless the database client encoding is set to simplified chinese (GB2312). Does anyone know how I am supposed to go about...
  20. ChrisN

    Problem with closure of MDI Application

    Hi everyone, I have an application that uses and MDIForm and a number of child forms. Is it possible to prevent the controlbox on the MDI from working altogether or at least prevent it from working if a specific criteria is met i.e. a flag is set to true etc. This is because I would prefer...

Part and Inventory Search

Back
Top