One particular user of this system is not able to save any data to the database. She gets "Error 111, Cannot update the cursor" no matter which form or table she tries to use in the application. Each control says 'read only' in the status line as she tabs/arrows through them. The...
You'll run into trouble if any of your field names are longer than 10 characters. 'Free'ing the table would've truncated them to 10 characters, so your structure will not be the same as it was.
It sure would've saved me a lot of time if the Microsoft Knowledge base articles I found had mentioned that fact. Oh well, the longer it takes me to figure something out, the longer I remember it and the more I learn along the way.
here was the solution:
We're running Windows 2000, which I guess doesn't have MTS, or is calling it something different, either way, I could never find it.
I found the configured identity in Component Services under "COM+ Applications". Changed the username and password and the...
We have several foxpro COM-DLL's being used to provide access to foxpro data via ASP pages. When ASP issues Sever.CreateObject(), it generates an HTTP 500.100 error:
Server Object, ASP 0177 (0x8000401A)
The server process could not be started because the configured identity is incorrect...
Have several foxpro COM-DLL's being used to provide access to foxpro data via ASP pages. When ASP issues Sever.CreateObject(), we get an HTTP 500.100 error:
Server Object, ASP 0177 (0x8000401A)
The server process could not be started because the configured identity is incorrect. Check the...
First I installed the complete MSDN July 2001. It works from the Windows Start menu and the FoxPro Help menu, but when I use F1 to bring up help it says "the compiled help (.chm) file does not contain context IDs". I don't have Crystal Reports installed, which was the only mention of...
How do you send an email from a client's machine if you don't know what kind of mail server or email client they have installed? I also need to attach a file to the message.
ShellExecute works great with Outlook, but doesn't attach the file with Outlook Express. I get a return code of 42...
Thankyou all for your responses! Now I realize that GO RECNO() is being used to refresh the parent-child relationships, but I think I'll add tests for EOF and BOF. I've been using FoxPro for 7 years and I'm still learning new tricks.
I'm updating someone else's code and I keep running into the statement:
GO RECNO()
My first instinct was to rip it out - why move the record pointer to the record you're currently on? But I have a feeling that it's there for some reason, maybe it's the solution to some weird bug - does...
A client would like to be able to launch an Access program from a Foxpro program. Is there a way to launch the Access program as a separate task so that it doesn't suffer any performance hit from Foxpro overhead? Is RUN /N the way to go or is there an API call or something else that is better?
I use this code when I want to copy a cursor or table over to Excel so I can easily sort it or otherwise mess with it.
Local lcFile
lcFile = 'c:\temp\export.xls'
COPY TO &lcFile TYPE XL5
oExcel = CREATEOBJECT('Excel.Application')
oExcel.Visible = .T.
if !file(lcFile)
=MESSAGEBOX(lcfile +...
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.