I also started with Dbase II in the 80's and used Dbase III and Foxbase 1 and 2 and quickly found that nothing was faster than Foxbase, continued with foxbase 2.5 and 2.6 and the windows versions but at the time I was not charmed by Windows at all so I didn't use that as much but with VFP 3 and...
To know what exactly is wrong with the dbf's try this:
How to read a DBF Header and get info about it by rob444
faq184-3162
Posted: 12 Feb 03 (Edited 6 Apr 05)
How to use lowlevel functions to read dbf-headers and how to get some info from the header.
Updated with Codepage info, the new VFP 8...
Thank you Olaf!
Useful to know.
Problems with the command window are not common knowledge.
I'm a foxpro programmer since the very early days (foxpro 1.1) and I'm still using VFP(9) for programming because there is nothing like it!
Mike, the MOVE WINDOW "command" TO 1,1 command did it!!!
I could then change the size of the command window (it was far too large) and then it appeared in full!
Thank you again!
Hi guys,
I'm having difficulties with the command window.
It seems to be outside the VFP9 window even when it's full screen.
And I cann't move the command window around.
The x for closing the window is not on the screen.
How do I get the command window in it's proper dimensions and movable...
Save the field name to a variable:
lcfieldname = field(count)
To get the value of that field:
lxfieldvalue = &lcfieldname
Then you can determine what kind of value the field has as in character or numeric.
I've been checking the assumed VFP Luhn algorithm code.
Its a (bad) mix of basic and Foxpro code.
So I've adapted the code to correct and working VFP code.
Enjoy!
Rob.
CLEAR
* some testing for the Luhn functions...
? IsLuhnChecksumOK("0000000000000000")
? IsLuhnChecksumOK("49927398716")
...
Here are the functions for the Verhoef algorithm...
rob6523.
**********************************
* the Verhoeff functions *
* rob6523 from the Netherlands *
**********************************
* Main program
Public array gaD[10,10], gaP[8,10], gaINV[10], ReversedArray[10]
do...
Have a look at seconds() (or sys(2))
It returns the seconds since midnight.
To have it in hours:
? seconds()/3600
Combining this with date() calculation you can calculate with it.
Rob.
Depending on what the problem that caused the "not matching":
reindex (for this command the key should be ok and the problem is the number of records being indexed)
index on fieldname to indexname (this creates a new index, depending on what kind of index (cdx or idx) you want)
Rob.
Jarit,
just be aware that Valkyrie probably will not decompile a clipper app linked with blinker.
At least that is still in my memory of using Valkyrie back in the past.
Be sure to ask before you buy!
Rob.
Only 1 month has 4 weeks during non-leap years.
February.
Every other month has more than 4 weeks but never a full 5 weeks.
Just write a program to "catch" the leapyear and give february 5 weeks in that year too.
Rob.
Blinker is just the linker, it doesn't really matter where it resides as long as it can find the files it needs to link.
Just rename *.SRC to *.prg and run clipper and blinker
Rob
If you used the original setup for vfp9 things should work fine.
No need to manually set things such as the foxuser.dbf resource file and/or the config.fpw.
I would remove anything you've done, and setup again using the setup that comes with VFP9.
Rob.
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.