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 strongm 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: jack1080
  • Order by date
  1. jack1080

    About Debug

    Is it possible when we can change the solution configuration from Debug and Release, we make certain chunk of code ignore by the compiler, which also means those chunk of code only run in Debug environment?
  2. jack1080

    Call compositedelegate by position

    Consider following code: delegate int MyDelegate(); MyDelegate d1=new MyDelegate(M1); MyDelegate d2=new MyDelegate(M2); MyDelegate d3=new MyDelegate(M3); MyDelegate compDelegate=d1+d2+d3; public void delegateCall(MyDelegate myCompDelegate, int Position){ //call the method by position } If I...
  3. jack1080

    Parser generator for C#

    Hi, I am looking for free and powerful parser generator for C#. Can anyone recommend parser generator(s) for C# that you knew it is good?
  4. jack1080

    How to check harddisk space

    Thanks:)
  5. jack1080

    How to check harddisk space

    Hi, i wish to check the user C drive remaining spaces using vba, how to do this?
  6. jack1080

    How to check harddisk space

    Hi, i wish to check the user C drive remaining spaces, how to do this?
  7. jack1080

    Tomcat 5.5 vs Generics

    Hi, I have used netbeans which built-in Tomcat 5.5 to develop jsp pages, and I am using JDK 1.5. In the JSP page, there are lots of generics here and there, and it runs perfectly using netbean built-in Tomcat 5.5.17. After development, I am going deploy the project on a server. Hence I am...
  8. jack1080

    Checkbox control source problem

    Hi lespaul, Do you mean to bind the following sql to control source? sSQL = "Update tblUser Set [ischecked] = [ControlOnForm?] where userId='abc'" >> do you really want the userId hardcoded or do you need to get that from the control on the form too? << ans: need to get that from the control...
  9. jack1080

    Checkbox control source problem

    Thanks, but I need the value to be updated to the database. If the user checked the checkbox update yes, else no.
  10. jack1080

    Checkbox control source problem

    For the following code chk is a check box, ischecked is a yes/no field. Dim sSQL as string sSQL = "Select [ischecked] from tbluser where userId='abc'" chk.ControlSource = sSQL chk.Requery But when I run the following vba code, no matter ischecked is yes or no, it always shows me the checkbox...
  11. jack1080

    How to populate list box with self-customed data

    I have a listbox call lst with two columns, what I want to do is to populate this two column with "firstdata" and "seconddata" respectively. What I do is: Me.lst.RowSource = """firstdata""; ""seconddata""" But I see nothing appear, what is the corect way to achieve in vba?
  12. jack1080

    About listbox

    Thanks, may I know if I do a listbox.value, is it always return the selected data of the first field in the query?
  13. jack1080

    &quot;Detail&quot; change to &quot;Field0&quot;

    ...As String strXTabQueryName = "tempQuery" Set db = CurrentDb Set qd = db.QueryDefs(strXTabQueryName) strSQL = "select * from [" & Me.lstTable & "]" qd.SQL = strSQL Set qd = Nothing Set db = Nothing Me.subform1.SourceObject = "Query." & strXTabQueryName...
  14. jack1080

    About listbox

    1)How to set show or not show key column for list box in propeties windows? 2)For list box, after doing lstListBox.rowsource="select field1, field2 from tbl" lstListBox.requery How to a)Set show keycolumn; b)make the first item in the listbox selected?A
  15. jack1080

    &quot;Detail&quot; change to &quot;Field0&quot;

    I have a table with 3 tables, which is orderID, Detail and price. I write a Query SELECT * FROM [tbl]; in the result table it shows me orderID, Field0 and price(Notice Detail has changed to Field0) How do I show Detail as it is without changing it to Field0? Something to note: 1. I don't have...
  16. jack1080

    Closing tables etc using VBA

    Wow, this is very helpful, thanks:) 1)But how about pages, is it allpages? 2)In a single user environment, other than opened tables, queries, forms, reports, pages, does there exist another object that may possibly locked the tables?
  17. jack1080

    Insert and delete link tables using vba

    I have two table which is c:\db1.mdb; c:\db2.mdb The user is currently using c:\main.mdb In main.mdb, I have a form, and have a combobox with two value, which is db1.mdb and db2.mdb. If the user choose db2.mdb, delete all the current db1.mdb link tables(if there is any), and import all the...
  18. jack1080

    Closing tables etc using VBA

    I wish to detect is there any opened tables, queries, forms, reports, pages(item that may potentially locked the table, and close them automatically using VBA. How to do this?
  19. jack1080

    Object variable or with block variable not set

    By the way, Error is at line lbl = lbl1
  20. jack1080

    Object variable or with block variable not set

    I have a form named form1 with one control on it, it is a label named label1 I have a class named Class1. Followed is the code of form 1 and Class1 form1 ==== Option Explicit Dim cls1 As New Class1 Private Sub Form_Activate() cls1.setLbl Me.Label1 cls1.test End Sub Class1 ===== Dim lbl As...

Part and Inventory Search

Back
Top