Thanks for the advice to all of you. Yes, I am using RECCOUNT() to limit the number of records in the table. It seems to be the most elegant way to do it. I use ProMatrix framework, and there are a few neat "extra" procedures and functions with it that help make this coding pretty easy to do...
I have just finished creating a nice vfp program. I would like to post it on my web site as a "fully working demo", that restricts the main table to 25 records. The table name is "members".
....
I "could" allow the users to input more than 25 records, and then when the program exits it would...
Thanks for the help. My mind was going blank and I forgot to set the KeyPreview to .T.
I had to modify your code sightly to get it to work properly. Something I had found in the earlier example I posted from my previous forms. Here is the final code.
LPARAMETERS nKeyCode, nShiftAltCtrl
LOCAL...
Here is the main code I use for the smtp dll. You will get the concept of the events, etc.
* Create object with events based on ossmtp.dll which is located in
* c:\windows\system folder.
oSMTP = NEWOBJECT("OSSMTP.SMTPSession")
oEvents = NEWOBJECT("myClass")
EVENTHANDLER(oSMTP, oEvents)
* Use...
I am having some problems getting this code to work. Hope someone can help me. What I am trying to do is have the form keypress event enter a value of 10 in any text box on Page three of a pageframe (named PgfRelated) if I hit the 0 key, then move to the next text box. The other number keys...
For a while I was designing my programs to interface with MS outlook and outlook express. However, I found that to be a problem in a larger environment where people have various versions of things....
This is why I searched for, and found, a simple yet effective solution to the problem. In the...
I have been working with a couple of very useful and dynamic add-ons over the past while. These dll's function very well in a number of programming environments. Including foxpro.
I am in no way associated with the company, by the way. I feel this is an important contribution to the forum...
Thanks to all for your help.
I have tried a number of things to resolve this, but none of them work. The only way I can get this to work is by putting the dll in the program folder.
The dll "does" work in the program folder. So I guess my problem is resolved. However, I want to check out why...
I have designed a nice program that utilizes a dll for sending email. I have it working great, and then ran into the following problem. Listed below is the code:
+++++++++++++++++++++++++++++++++++++++++++++++++
* Define events using built in classes of the dll.
* Each event procedure can have...
I worked out the answer to my question.
At first, I made a second table identical to the master table, and made blank records and copied the data via a sql select statement to it.
The thing I did not like about it was the fact I was using a table to do something that a temp cursor should be...
I have used some neat utilities in VB and VBA for printing labels. It is basically a "label saving" feature.
What it does is two things...
First...you can (on a form) determine the number of labels you want printed for each record in the recordset. This is neat if you want a full sheet of...
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.