Hi. I want to split a string like this: '999 #998 #994 #', by the '#' character into an array, that in this case will have 3 positios. How can I do this? (Please describe all the comands, including the array declaration. I´m totally newbie in Fox Pro). thanks for your help.
How can i split a string by using a single character? Is there a function for that?
For example:
HOW-ARE-YOU-?
I want to split this string in four words, using '-' as a separator.
Thanks.
Iam writint some strings into a file, using the FWRITE() command. When Iam writing the last string in the line I use the FPUTS() and then i continue using the FWRITE(). Anyway the FPUTS() is not breaking the line.
Do you have any other solution for this? Or, what´s wrong in what Iam doing?
Tks.
I am trying to write a string into a file in my PC, using FOXPRO 2.6. My code is:
_path = "C:\Projetos\SINTEGRA\Sinteg.txt"
HANDLE=FOPEN(_path)
if HANDLE > 0
BYTE = "HI!!!"
=FSEEK(HANDLE,0)
=FWRITE(HANDLE,BYTE)
=FCLOSE(HANDLE)
endif
This code never enter in my IF. Iam sure...
I have a table that has a column called "status". I'm trying to select some fields of my DBF table through the Foxpro software. My select is something like this:
SELECT * FROM TABLE WHERE STATUS = ""
But I've noticed that it is returning all status situation. Maybe it's because "status" is a...
Thanks guys! I'll try to use the sys(3) or sys(2015) because I want to have more than one record per day. I have a multi-user app but I'll try to use it anyway.
Iam trying to create an index in Fox Pro. I found out that a good solution would be: create an index converting the actual sysdate to an integer. But I can´t find any function that does it. Can anyone help with this problem?
Do anybody know how can i convert this or how can I create an index...
I am implementing an instante messaging application using Java with Corba. I want my server to store the information about the users.
When a Client run the application for the first time, he has to subscribe himself at first. This means that an new client object must be instantiated in the...
Hi. I'm trying to execute a Hello World example in CORBA in Java. My server goes well, but my client is returning this error message:
org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at...
my main have this code:
System.out.println("Before:");
celes.print();
cassino.print();
editor.editProperties();
System.out.println("After:");
celes.print();
cassino.print();
my "editor" class is a JDialog that was set to be...
<input name="imageField" type="image" src="images/bt_adicionar.gif" width="78" height="18" border="0" onclick="location.href('cadastrar_usuario.asp')"/>
I want to open the page 'cadastrar_usuario.asp' in the same frame. But...
I have this procedure:
CREATE PROC proc_copia_pontos
AS
BEGIN
SET NOCOUNT ON
DECLARE @count INT, @i INT, @tab_ponto TABLE ( latitude nvarchar(200), longitude nvarchar(200), precisao INT, dtponto DATETIME, idpontoOrigem INT, flagCorrecao INT )
INSERT @tab_ponto
SELECT latitude...
How can i make a transaction inside my procedure, because when it happens any error at the end of my code it still does the begining and insert in my data base. I want it to do nothing if something fails. How can i do this?
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.