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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 !!!
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...
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 ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.