You may want to go back to the definition stage. A lot of the discussion talks about "how", but you may still need to look at "what."
Will you need a relational database?
A company table?
A Department Table?
An employee table (contact)?
What business...
I assume you are still working on the code - if so, why not map the server drive and let the users access both data and the EXE from the server. Load vfp7*.dll into that same directory and when you make changes to the code you don't have to redistribute EXE files. The down-side is slow loading...
In the list box click event
FOR i = 1 TO This.ListCount
IF This.Selected(i)
IF !empty(myEditBox.Value)
myEditBox.Value=myEditBox.Value+;
"[Separator]"+;
This.List(i)
ELSE
myEditBox.Value = This.List(i)...
As I see it, you need to be able to resize the summary band when less than all of the pictures are shown. VFP 7 will not allow you to do this (the remove line if blank check box is disabled.) I don't know if VFP 8 will work for you.
FoxPro's report writer is quite limited. Try creating an...
It would appear that the file names are static. Why not just dimension an array and then populate the array with the files in the order you wish. You don't even have to be stuck with name order.
Just a thought - the order change is not random - there has to be a reason. Have you been sorting...
RAND(-1) seeds the random function with a clock value. This quasi-randomizes the random number generator. If you did not first seed the function and then produced two lists of random numbers, those two lists would be identical. If you then seed the function, the two lists of random numbers...
I recommend that you be careful using this approach. If you are in a multi-user environment (or ever expect to get there) you can be assured that eventually, you will find a numeric mis-match. Try this:
SELECT SysKey
llLocked = .f.
DO WHILE !llLocked
IF RLOCK()
lnNextNum =...
Great fun trying to find the programmer solution ain't it. From a business point of view, how many addresses do not have the postal code on the last line? If you only have 1-200 addresses with a postal code mixed into the middle, why not simply edit those addresses? Fix the problem using a user.
Word automation can be fun, and can be effective as well (I use word automation to perform spelling and grammer checks in edit boxes) but you might want to consider doing your mail-merge in a FoxPro report. Try the textmerge capability of Fox. You create the header of the letter using standard...
Placing things in the refresh method tends to slow down the works (it fires many times) Try putting your Application.Visible = .f. in the Activate method instead.
With a shared database, there are two issues to deal with:
1 Buffering
2 Locking
Recommend you go to the INSERT INTO/UPDATE commands instead of REPLACE. To do this, you will need to set the table buffering method to optimistic/pessimistic, Record/Table I use optimistic record buffering where...
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.