-
- ComboBox Control
by Ahsan Amin
- 14 Replies
- Last post
by Naomi Nosonovsky
- I have to to fill a combo box control with a table fiels with 'Please Select' at top.
-
- Error Anomaly in Control Valid Events
by rHowe11
- 2 Replies
- Last post
by rHowe11
- Hi...
I'm getting some very weird problems when an error occurs in the valid event of a form combo box.
I am attempting to handle form errors within a TRY block that wraps a READ EVENTS. When an unhandled form error occurs, the CATCH releases the form, and then evokes the READ EVENTS again. In this way, I can dump the form without losing the whole app.
This methodology works fine - except
-
- DELETE / PACK
by AlexBB
- 8 Replies
- Last post
by AlexBB
- I am wondering if a statement can be construed which will do DELETE (record) & PACK on the same command line. If it is possible I would prefer to run just one command from .NET rather than two.
Thanks.
-
- Include DB in .exe
by hangover
- 9 Replies
- Last post
by hangover
- Hi. If I include a database in my compiled application via the Project Manager, how do I then reference it and its tables Do I still need to open the database and tables or are they automatically opened
Thanks.
-
- ERROR FOXPRO
by JAY MANNELLA
- 6 Replies
- Last post
by dni
- WHY EVERTIME I REBOOT MY P.C GET BOX MESSAGE,
CANNOT LOCATE M.S VISUAL FOXPRO SUPPORT LIBARY
-
- Urgent - Need Help In VFP 8 Deployment
by Hemangi
- 9 Replies
- Last post
by Hemangi
- Hi All,
I have created Package using installshield wizard, but the only first login window of my project appears after just one sec screen remains and then disappears, i have used prg as my main file in project in which i have define menu, however my exe woks fine . what should i do.
Regards
Hemangi
-
- Change default printer works only once
by CFutino
- 6 Replies
- Last post
by DaCosta11
- This one is weird... I use the followin function to change my default printer: FUNCTION SetaImpDefa(imp,muda) Declare long WriteProfileString in "kernel32" ; string lpszSection, string lpszKeyName, string lpszString Declare long SendMessage in "user32" ; long hwnd, long wMSg, long wParam, String lParam if muda HWND_BROADCAST = -1 WM_WININICHANGE = 26 endif printer_name = imp printer_buff
-
- Retrieving tables
by Josemaloco
- 3 Replies
- Last post
by Markish
- Just a newbie question that I didnt found anywhere.
How can I retrieve all the tables with a SELECT command I mean, whats the name of the table holding all that info
-
- Performance of Foxpro OLEDB
by cajin
- 13 Replies
- Last post
by CetinBasoz
- I am working on a project which accesses foxpro 9.0sp1 database through OLEDB. The datbase has about 1million records. My code simple and straighforward just like below,
conn.Open();
OleDbCommand cmd = conn.CreateCommand();
cmd.CommandText = "DELETE FROM mytable"
cmd.ExecuteNonQuery()
conn.Close();
But it will take a very long time to mark all records as deleted
-
- ole erro class not registered
by Fox Me Up
- 4 Replies
- Last post
by Fox Me Up
- im using the foundation datetime class _olecalendar and i keep getting an ole registration error. The system im using it on is windows server 2003. I have looked on google for a solution but none of the ones i found worked. I cant register the .ocx control b/c i dont no where it is. Please help me get this class working
I have never gotten this error before but on all the other computers i
-
- why does Read Events release Main window
by Hao Q.
- 14 Replies
- Last post
by Hao Q.
- Sorry if this topic has been brought up before... I'm working project, which I set the main window as modeless. In order to prevent the form to be released at the time of initialization, I put THIS.SHOW and Read Events in Main.Init. However, after the form is initialized, the object main for main window is released from the memory (I view status of variables in the debugger window). If I'd like t
-
- how to escape from valid event
by RavindraPatil
- 6 Replies
- Last post
by Naomi Nosonovsky
- Hello,
Suppose an user is adding a record and he is on a field which needs validation. He tries for long time but can't enter valid data. So he wants to give up and exit from the form. But he cant click anywhere without entering valid data in that field.
In such case how to help the user to exit
pl. help
-
- vfp8 code errors in vfp9
by orderinc
- 11 Replies
- Last post
by orderinc
- The following code snippet works fine in VFP8 but the 'use (mfile)' invokes the catch code in VFP9. When running without try catch, use (mfile) simply does nothing the 1st time it is run, but does open up the file the 2nd time it is run. I am deleting the CDX file previous to this code being run.
mfile=mmomfile
select 0
try
mtagfound=.f.
use (mfile)
mi=1
milen=30
-
- subtotal field
by NILKAMAL
- 4 Replies
- Last post
by NILKAMAL
- hi!
i know this easy question for other but i am new in foxpro
how do i do calculation of two field in form
e.g field a + fieldb
field c = fieldA+fieldB
let me know which book good for me to learn foxpro
thanks
-
- Full Screen Question
by Yin Lai
- 14 Replies
- Last post
by Yin Lai
- I am using visual foxpro 7.0. I need to set my program to full screen and limit the user option. That's mean, user just can use that computer to key data using the program and cannot do anything else (cannot open other program) except if they log out. Hope some expert can help me solve the problem. Thank you very much.
-
- Report Builder Error with XP Media Center Edition
by JLB4536
- 5 Replies
- Last post
by JLB4536
- I had to buy a computer in a rush and selected one that had XP Media Center Edition expecting to be able to install XP Professional when I got it home. Well, this is a Gateway notebook and XP Pro wouldn't load.
Now, with Media Center o/s, I am getting an error in the 9.0 report forms when I try to access the text or label properties.
The label error reads:
Variable 'vpos' is n
-
- VFP MVPs - Please Contact Me
by Joe Morel - MSFT
- 4 Replies
- Last post
by CChalom
- To all VFP MVPs:
If you do not currently have moderator permissions in this forum and would like them, please send me some email at joemorel AT microsoft DOT com. I've noticed situations in which you might like to create some sticky announcements or FAQ posts, and I'd like to help you get the tools you need to make these forums work for your community.
Thanks all!
-
- TYPE
by dni
- 3 Replies
- Last post
by Docpro777
- I like to know what character will return function TYPE() from x, where x is:
x=STR ( YEAR ( DATE ()))
I think I have somthing wrong with my vfp 9 installation.
-
- How to protect foxpro DBF from vieving by other people?
by hs ong
- 6 Replies
- Last post
by hs ong
- I have develop a HR system using Visual Foxpro and the database also foxpro db, I want to protect the "employee.dbf" from viewing by other people because it's contain personal record like salary etc.
I always have a problem when some of my co-workers can open to view the DBF if they have Visual
foxpro software installed inside their system.
How to prevend them to do it P
-
- VF 6.0 floppy error message - Exception processing error message c0000012 parameters.
by Bit
- 3 Replies
- Last post
by Naomi Nosonovsky
- Hi,
I'm a newcomer.
I'm having an error with Foxpro 6.0 application. See whether anyone have faced it before.
A foxpro application is proceeding to check floppy A for an hidden file.
However, the user misplace floppy B into the floppy drive (without the file.).
The application then prompt the user to insert the correct floppy disk A.
After the user insert flopp
-
- Not Enough Memory o Complete the Operation.
by AlexBB
- 14 Replies
- Last post
by AlexBB
- There is a chance that this is not the forum where I will ultimately get an answer since I do not know where the root of the problem is but still I am asking for everyone's attempt to brainstorm.
It is actually a continuation of the previous notorious PACK <tableName> thread. Since I felt that I ran into a stonewall I devised a DEVIOUS (!) plan to crack the problem. It appears to ha
-
- Referential integrity issues
by Victor BA
- 2 Replies
- Last post
by AndyKr
- I edited the referential integrity in my DB (....after i inserted records...) and i chose Cascade as the rule specified...well, it sent me a lot of errors because i was inserting records just to test some other things, but the thing is it generated me some Procedures like:
ridelete
riupdate
__ri_delete_employee
__ri_update_employee
can i erase these procedures , what's w
-
- seeking in an IF
by Kadrin
- 8 Replies
- Last post
by CetinBasoz
- Hello all, I am trying to perform a SEEK in 2 different tables, I will first SEEK 1 and if nothing is found search the other but I am having difficulty putting this into an IF statement. Any help is well appreciated. Thanks Kadrin
-
- Putting string into OleRtf control
by Eddie N
- 2 Replies
- Last post
by Eddie N
- I am programming using VPF 9 and RTF control (oleRtf) to display a text string (after appending RTF header and footer). I use the selRTF method to display the string in the oleRtf.
Code Snippet
** my_sentence is the string DO FORM showstr_edit NAME frmShow frmShow.oleRTF.selRTF = my_sentence All seems to be okay. But everytime I refresh the form and put another string to display, it
-
- Retrieve current date data
by espirit
- 9 Replies
- Last post
by Naomi Nosonovsky
- Hi,
Im having a problem to retrieve data based on today date. I'm using Visual Fox Pro 6. My table structure is as below:
name type width
updated_on DateTime 8
I need to retrieve only data that is updated today or current date. For eg my table
datetime is 28/06/2007 12:00:00 PM, and I need to retrieve only data for today
which is 28