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 Shaun E 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: rlusk49
  • Content: Threads
  • Order by date
  1. rlusk49

    Object Creation

    Simple question. With the following code, what do I have to dim MyFile as to get my IntelliSense to work. Do I dim it as an Object? Dim fso, MyFile Set fso = CreateObject("Scripting.FileSystemObject") Set MyFile = fso.CreateTextFile("c:\testfile.txt", True)...
  2. rlusk49

    CommonDialog ShowSave

    Can anyone help me with the ShowSave method of the CommonDialog box. It's the first time I am using this control. When I open a particular form, I would like to save the form to my hard disk. I assume I can do this with ShowSave. First of all, am I right and secondly what code to I need...
  3. rlusk49

    SQL brings back wrong data

    With the following sql, I am trying to return data based on 2 criteria, argDirectParent and argSpouseParent. But it is not working. It brings back faulty data based on only one of the criteria. I figured the "And" would do it. Select * From tblPersons Where Mother = " &...
  4. rlusk49

    Using information from one form to another

    I am trying to use information from one form on another form. Using the following code, the information actually appears in the text box on the second form but when I try to display the contents in a message box, it shows as empty. Any ideas? FIRST FORM Private Sub cmdSiblings_Click()...
  5. rlusk49

    Run time error '-2147217904(80040e10)'

    I am getting this error after I have packaged and deployed my application. What is funny is that it runs fine within VB and as an executable but after I package and deploy it, I get this error when I try to view another form. When the program opens, I click a button: Private Sub...
  6. rlusk49

    Expected function or variable error.

    Can anyone tell me why the following code returns the following error: "Compile error: Expected function or variable". It hangs on GetPersonProfile. The object mobjPerson has been created and set on Form Load. Private Sub DisplayFamily() Dim arrPersons As Variant arrPersons =...
  7. rlusk49

    invalid use of Null - continued

    Sorry you guys who offered help on getting "invalid use of Null" message. Still having trouble. Here is the code. In the DB, "AllowZeroLength = YES". As I mentioned, works fine when there is data in the fields. arrSpouseParents =...
  8. rlusk49

    Illegal use of Null

    I am trying to retrieve two fields from a DB based on a person's ID and I have created an array to hold the data. I have provided error handling in case the array is empty and it works OK when there is data in the fields. However, when the fields are empty, I get an error message on the...

Part and Inventory Search

Back
Top