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 mvanbro

  1. mvanbro

    Converting Dates to YYYYMMDD

    select cast(datepart(year, enterdate) as varchar(4)) + cast(datepart(month, enterdate) as varchar(2)) + cast(datepart(day, enterdate) as varchar(2)) from tablename This works but the less than 10 parts of month and day throw off the alignment. maybe a combination of sql and high order laguage...
  2. mvanbro

    Could not find installable ISAM

    DL mdac_typ and dcom95 from microsoft or find on office or vbasic disks and load them in the order specified.
  3. mvanbro

    Referencing a DLL

    I think all you have to do is go to the directory where your renamed file is and from dos prompt type regsvr32 -u newname.dll then rename it back to nsm.dll or whatever.... then type regsvr32 nsm.dll this will deregister the first dll, when deregistered it will not follow the rename. Once...
  4. mvanbro

    Loading and Opening a File - easy question??

    add a richtextbox to your form, if you will only be doing rtf files. in code when a filename is clicked on set richedtextbox.filename = "the-name-that-was-clicked" and there you are
  5. mvanbro

    How do i remove the quotes after using write#

    Suppose the "Line55234123412" is stored in a vaiable called qstring you need only state: Replace(qstring, chr$(34), " ") and the quotes are gone.
  6. mvanbro

    enter keycode

    use the & instead of the + use vbcrlf instaed of chr$(13)
  7. mvanbro

    Handling a field with SZZ9????

    Store it as S9(03) and define it in report as: IN CODE MOVE IT TO REPORT FIELD PIC --9 WILL FLOAT THE MINUS UP TO THE SIGNIFICANT DIGIT PIC ZZ9 SIGN TRAILING SEPERATE " " " LEADING " PIC ZZ9CR FOR CREDIT ETC...
  8. mvanbro

    DOS/BIOS call from the DOS Cobol program

    What do you want to do in bios. I have 3.2 MF Cobol and the documentation for the call's. It employs a call by number scheme with values passed as parameters. Let me know what and I'll give you a chunk.
  9. mvanbro

    replace in all the application

    Place all " ' " protected textboxes in a control array then they share the same keypress subroutine
  10. mvanbro

    field type... get avg() ...of an access text field

    select avg(fieldname) from tablename or do I misunderstand the dilema
  11. mvanbro

    Visual Basic and ADO

    "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=" & strpath Try this
  12. mvanbro

    Rename Column name

    access the syscolumns table in your database and change what you may. There is a lot of stuff in this table including the column names for all fields.
  13. mvanbro

    Deleting From SQL CLI.

    lose the * DELETE FROM tbl WHERE ID = 'barney'
  14. mvanbro

    excluding records based on 2 exclusion tables - subtracting queries?

    select * from tblitembyupc where upccode not in (select * from tblexcludedupc where agentid=3) and not in (select * from tblexcludedupcgroup where agentid = 3) this syntax may not be precise but it is close to what will work

Part and Inventory Search

Back
Top