Olaf,
Thanks for the continuing feedback!
"The XML method is good for say up to 10,000 records."
In real use the data is 1- ~1,000 records, but for testing I was hitting with some larger cursors.
The 'Code Review' feedback is excellent, and yes like most programmers I suffer some times from...
Using the suggestions that Olaf gave (Thank you again Olaf) the following is the code that I am now using, and so far is working great.
(Side note out of 100,000 of records 3 had CHR(2) in the middle of some text that caused this code to crash. How the Chr(2) which are Start of Text characters...
Andy,
your suggestion is what I am doing at the moment ( Well OK I think my solution is a little cleaner. ) You know what, I am going to post the code (See below ). Anyhow the issue with the solution is that long field names get truncated, e.g. free tables only allow 10 character field names...
Cursortoxml/XmlToCursor
That looks like an excellent solution, thanks for the idea.
I know you pounded on the my architecture, but at this time I do not agree that it is poor (my summary of what you said.) IMO I have Biz Classes who have the responsibility to create/store/serve to/ etc. etc...
I have a number of business objects each with their own private datasession. Sometimes I need to create a cursor that needs to be used by the object that has instantiated the biz object. Solution: pass in the number of the datasession being used by the ‘main’ object to the biz object, and have...
A rewite in a new language is ok, that's why I'm asking I can't see another project on the horizon that would pay for that!"
IMO the first app in a new language is going to be a PAIN and will take much longer then doing it in VFP, so make sure that it is a goof investment for all. Each app in...
Looking over your user profile ( I should have done that first ) you are in the good VFPer category, so most of my comments may be best read by 3rd parties.
Maybe a question is can your ego handle other programmers laughing at you for doing a new VFP app? I say that because I have had a few...
.net any more secure going forward?"
Microsoft can drop it tomorrow, but I doubt it. No one has a cystal ball but my gut tells me that .Net will be supported until at least 2020.
I also think VFP will run on MS OSs until at least 2020, if only via Virtual PC. So if it takes 6 months to write...
The short answer is Yes.
Now for the long answer:
-I suspect that you will get a range of answers from my Yes, to any programmer that starts a new application in VFP should be taken out, shot drawn and quartered, burned and his ashes put into a new concrete driveway.
It really depends on the...
I wish I can give everyone a star for such good answer....."
What is stopping you?
Your wish is my command....
At the bottom of each post is a section "Thank <username> for this valuable post" Click on it and you can give that person a star. Do it for each user/posting that you like...
If the client has asked for a NEW application, then Fox might not be your best option. As everyone else has pointed out you need to read the manuals/tech guides etc. of the hardware. If you find that there are VB.NET, and JAVA, and PHP examples ( or what ever language ) you may want to use...
Well
(normally) it is better to have these kinds of changes/requirements (The accounting needs) spelled out at design time, then after the whole database is created.
Best of luck.
Lion Crest Software Services
Anthony L. Testi
President
www.LionCrestSoftwareServices.com
Having Services link to Employee AND employee link to Services IMO is not a good idea, it should be one way or another not both.
I have not worked out all of the details of what you are doing but here are some ideas to consider.
-What about having (a) linking table(s) e.g. A Employee_Services...
I am using the built in Crystal Report in VB.net 2008 and when I click to bring up the Formula Editor it is hidden. (I think it may be off my screen someplace.) Any ideas how I can get it back so I can do the needed editing? (BTW I have 3 screens hooked up so that might be a clue.)
Lion...
Why not just show a message box at the end, or update some information on the screen to tell/show the user the results of the input.
e.g. "Finished updating information, 25 records added!"
Lion Crest Software Services
Anthony L. Testi
President
www.LionCrestSoftwareServices.com
Some suggestions on the code:
(BTW None of these comments are the root cause of the blank records, but I would require my programmers to fix these side issues before I would spend a lot of time tracking down the 'real bug'. Having clean code (my definition of clean code, which of course is not...
If you really want to take time to figure this out. How about creating a MS Virtual PC do only VFP development in it and see if it happens. If no then it is something outside of VFP, if yes then it is VFP and I am sure you can get MS to work on and send you a fix. <Evil Grin>
I do agree and...
Mike,
from a USA based developer I can say I have never seen that issue. I wonder if with you based in Scotland the version of VFP is different for overseas reasons. Maybe a set order issue (Or what ever the setting is to set the alpha order different for different languages.)
Also have you...
First I did not read the posting in depth so this comment may not make sense. But what strikes me is the use of the hidden<> tables. Why not just have an additional field/column/attribute of your primary tables that is a hidden flag?
Lion Crest Software Services
Anthony L. Testi
President...
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.