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

    Using reflection

    Hello everybody! I have never used reflection before is my first time even playing around with it. I was thinking about a utility that will take a pojo as a parameter and them split a delimited line based on the fields defined in the pojo, create a new instance of the pojo and set the fields...
  2. nirajj

    Map vs quering DB?

    Hi all, The program that I am working on requires that each employee's value be checked against a table. The 2 different approaches that I have in mind are... 1) Pull up values for all the employees ahead of time and store in a HashMap. (about 12000 employees) 2) Query the DB each employee at...
  3. nirajj

    read integer

    Hi all... This may sound novice but I am new to Java.. actually still learning. I have the following lines of code to get an input InputStreamReader reader = new InputStreamReader(System.in); reader.read(charBuff); However, I want to restrict the user input to only integer or float values...
  4. nirajj

    User accounts

    OS: Windows XP Pro Service pack 2 This may sound stupid but yesterday I created admin user 'New' on my computer. All these days I was using the default 'Administrator' account. Today when I logged in, the 'Administrator' account was deleted. The files are still there. I only have 'New' account...
  5. nirajj

    Not print if blank

    I am printing the address in the report. If addressline2 is blank then I would like the city and state to move up. Right now I get a blank line. I tried the following code in On Format event. If IsNull(cMAddress2) Then addressline3.Top = 3 Else addressline3.Top = 6 End If However...
  6. nirajj

    + operator or ..

    SELECT table.Fname + " " + table.MI + ". " + table.LName AS Name FROM table; I have this above query, which doesn’t seem to work properly. Name returns blank value if MI or Lname has no value in it. However it does show all the records, just blank values. I am not sure if + operator is what I...
  7. nirajj

    SQL query to search strings

    Hi, I have a table with a field that will have values as follows: "Value1, Value2, Value 3, Value 4" "Value2, Value1, Value 6" "Value 3, Value 4, Value, 5, Value 1" Basically same set of words repeated in random order. Search Scenario I : search string "Value1, Value2" should return 1st and...
  8. nirajj

    Migration VFP to VB

    Hi all... Very soon I will be in the process of migrating existing system on VFP 6.0 to VB 6.0 or .net. However, before I do that, I wanted to know what is the best strategy for doing so. Is there any ready tools available which would transfer all my forms and/or code? Also would like to...
  9. nirajj

    Err 20525 while running Crystal report

    Hi all: I just made some changes to the existing crystal reports (which might have been created in ver 5 or so) and saved it in ver 10. Now when I run the same VB code I am getting error 20525: Unable to load report. I am sure its because the report was saved in ver 10 and I need to do some...
  10. nirajj

    RS.Update will not update the field

    Hi, I have a rdo connection to the SQL server 2K DB. The following code is used to update certain data in the table. Set Rs = Connection.OpenResultset("Select * from Table, rdOpenDynamic, rdConcurRowVer) Rs.Requery Rs.Edit Rs!fld1 = 'abc12345' Rs!fld2 = 'abcdef' Rs.Update However, the data...
  11. nirajj

    Linksys wmp54G wireless G PCI Adapter on XP

    Hi: I setup a wireless router wrt54g at home. I have one PC up and running on win98 with wmp54G wireless G PCI apater. However when I installed wmp54G on another PC with XP it wont work. The card is installed and device manager says the device is working properly. But its not able to detect...
  12. nirajj

    Resiable Panels on the form

    I was wondering if anybody had idea about how to create different panels on the form that are reziable, but when you resize the panel the other panels would resize too. I dont know if i am clear enuf. Basically lets take example of help files. Just like help has left and right panel and you...
  13. nirajj

    Pageframe border width

    Hi all, Might be very simple but I just cant figure out how to do it. I want to change the borderwidth of pageframe to zero. It doesnt allow to change it. Help says the same that borderwidth cannot be changed with pageframe. However, in samples provided there is a sample about Display...
  14. nirajj

    DBC schema export to SQL Server ??

    I was wondering if there is any way to export the schema of .dbc into SQL Server ? Any utility or any other way??
  15. nirajj

    How to create multiple page report ??

    I need to create a report that will print in 6 pages (always). The data for all the pages will be from different cursors (created by sqlpassthru). I want to know what will be the best way to design this report ? One option I was thinking is to create six different groups and make the group...
  16. nirajj

    Replace null numeric fields with space not even 0

    I would like to replace the numeric field in cursor with space where the value is null. I tried something like REPLACE ALL fieldname WITH VAL('') FOR ISNULL(fieldname) I tried several options but just cant get it to be space. I always endup getting 0. REPLACE ALL fieldname WITH '' FOR...
  17. nirajj

    Replace ALL fld while isnull(fld) .. .??

    I am trying to replace all NULL values with Space or zero depending upon the datatype of the field in the readwrite cursor. However, REPLACE ALL fldName WITH '' WHILE ISNULL(fldName) Doesnt seem to be working. But if its numeric datatype it does work. REPLACE ALL fldName WITH 0 WHILE...
  18. nirajj

    FXP -> PRG -- foxpro decomplier ?? Urgent !!!

    Is anybody aware of any utility that would get me PRG from the FXP ? I have lost the prg file but I still do have the fxp and I would like to see the source... Any idea how to do that ? Very thanks in advance !!!
  19. nirajj

    Help needed on performance

    May sound stupid but can somebody tell me how would this code work out ? Is it really a good idea to implement something like this in VFP7 ? Select WorkArea1 && Approx 20000 rows SCAN Select WorkArea2 && Approx 20000 rows SET FILTER cExp && Approx 3-5 rows after filter...
  20. nirajj

    SQLEXEC() vs SQLPREPARE()

    It might be very stupid question but can anybody tell me if SQLPREPARE() would actually make the execution faster or directly using SQLEXEC() would be a better deal when it comes to performance issue? lets say i hv a query lcQuery option 1 : SQLPREPARE(DS, lcQuery) SQLEXEC(DS) option 2 ...

Part and Inventory Search

Back
Top