Pesquisa resultou em 121 ocorrências

por marge0512
25 Mar 2013 09:41
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Thank you!!! :))
por marge0512
12 Fev 2013 17:50
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Absolutely nothing showed up. Lol
por marge0512
12 Fev 2013 17:17
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Thanks! Same error. I notice this though, when I comment out this line: cString = "" I don't get the error. After researching i had tried the cstring <> "", i tried rearranging the paranthesis (never know) and i tried adding the word NIL instead of "". None of that had worked. I guess there is a bug.
por marge0512
12 Fev 2013 14:22
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Ok, I used this trick to find my point of error........
@ 24, 0 SAY cPath + cString + IndexExt()
Inkey(0)

I like that! I copied and pasted in a bunch of places so I could narrow it down and this is where the point of error is:

IF LEN(cString) > 0

Error type is Miscellaneous and the error ...
por marge0512
12 Fev 2013 13:42
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Thank you! I looked in my C:\ and there are two tables being created each time with a .dbf extension. Nothing is being created with the .ntx extension. Is this a good thing?

I am now thinking that the line of coding that I thought was the point of error is not. Since I cannot debug in Summer87 to ...
por marge0512
11 Fev 2013 19:31
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Hi! Well, I tried replacing the "_'" with a number and I tried a different name but it still gives the same error. I am confused about something though.....I thought the CREATE command creates a .dbf not an .ntx???
por marge0512
11 Fev 2013 18:49
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Hello, and I'm sorry I'm just getting back to this..........

I added those 2 lines and when my system asks for what to search I put in "Inc", then i hit enter. I get this response: C:\tmpTable_.ntx
Then, I get the mismatch error when i hit enter again.
por marge0512
07 Fev 2013 16:27
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Hi! It was the test in Harbour that worked fine. I was using the Harbour version because I can debug in Harbour but not Summer87. Then, I decided to try it in 87 to see what would happen. That's when i got the error. It worked fine in Harbour. When it is all said and done, I have to compile the ...
por marge0512
07 Fev 2013 16:14
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

It does seem to not like the path and string together even though cString is bringing back the correct value. I think I am going to go back to Harbour for now because I have a few more things I would like to change for this project and worry about Summer87 later.

Changing to Harbour will be my ...
por marge0512
07 Fev 2013 15:01
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Sure, it says:

Error type: MISCELLANEOUS
Application: CASES
Procedure: CO_FND
Line: 0
Description: TYPE MISMATCH
Source: ->
por marge0512
07 Fev 2013 14:33
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Hi! I still get the same error.
por marge0512
07 Fev 2013 14:16
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Hi!

When I compile in Harbour, I do not receive any errors but I am trying to compile in Summer87 and I receive a mismatch error on this part:

cPath = "C:\"

cString = "tmpTable"

IF File(cPath + cString + ".dbf")
Erase (cPath + cString + ".dbf")
Erase (cPath + cString + IndexExt ...
por marge0512
31 Jan 2013 12:06
Fórum: Bate Papo
Tópico: Comments on topic "How to SCAN substrings in a dbf - Summer"
Respostas: 3
Exibições: 1291

Comments on topic "How to SCAN substrings in a dbf - Summer"

Thanks! That clears everything up. Would you still need REPLACE Field_Dec with 0 since the field type is a character? Just curious.

Thanks again!!
por marge0512
30 Jan 2013 18:08
Fórum: CA-Clipper
Tópico: How to SCAN substrings in a dbf - Summer 87
Respostas: 126
Exibições: 37304

How to SCAN substrings in a dbf - Summer 87

Thanks! Here is something else I don't understand, if you don't mind explaining again:

APPEND Blank
REPLACE Field_Name with "COMPNY_NAM"
REPLACE Field_Type with "C" <------------Why value "C"? What does that mean.
REPLACE Field_Len with 25
REPLACE Field_Dec with 0 <------------Also, the same ...