Page 10 of 10

Re: Questions of zero level

Posted: Sat Jul 14, 2012 6:13 am
by RDalzell
I find that Roger's DC_DBFILE() is an easier solution.

Re: Questions of zero level

Posted: Sat Jul 14, 2012 6:56 am
by rdonnay
i make a copy of your source to my programm with "copy and past"
the fieldtype of "type_model" and "Int_krit" was after paste "?" not "C" !!!! :naughty:
I got that same result.

Re: Questions of zero level

Posted: Sat Jul 14, 2012 11:03 am
by Eugene Lutsenko
hz_scotty wrote:hi
i make a copy of your source to my programm with "copy and paste"
the fieldtype of "type_model" and "Int_krit" was after paste "?" not "C" !!!! :naughty:
please overwrite this two characters with "C" an test again

by me- the function create the DBF correct :clap:
Thank you very much! Casually pressed not Latin "C", and Russian "С". They look equally. And I cleaned fields in turn and tried, and when cleaned this field - earned, but I didn't understand because of what.

I thank all and I am sorry for that that took time with such simple problem. But I thought, the reason in other since the tool for me new and I thought that something not so I do in principle, and tripped on a smooth spot.

With DC_DBFILE() I will try to deal.

Re: Questions of zero level

Posted: Sat Jul 14, 2012 11:20 am
by rdonnay
This thread is getting very long.

I suggest that you start a new thread every time you post a new problem.

Re: Questions of zero level

Posted: Sat Jul 14, 2012 8:30 pm
by Eugene Lutsenko
rdonnay wrote:This thread is getting very long.

I suggest that you start a new thread every time you post a new problem.
Well!

Alaska gives a mistake at database creation if in the file of structure there are names of fields in length more than 10 symbols. CLIPPER too worked with names to 10 symbols, but a mistake didn't give, and simply other symbols ignored. That is the fields different by 11, 12 and so on by symbols were perceived as identical.

And the mistake arose because instead of Latin "C" I unintentionally somehow pressed Russian symbol "С" which looks precisely as well is the only thing located on a key with same by the form a Latin symbol. Simply language when I switched it wasn't switched, I know well it and such mistake wouldn't allow. But when looked at the program didn't see a mistake since it seems all how is necessary by sight. Also didn't guess. Though began to delete fields in turn and when removed with Russian "С" - everything earned. But there was no time for the subsequent...

Re: Questions of zero level

Posted: Sun Jul 15, 2012 6:29 am
by RDalzell
From Alaska Docs (creating a database)...

A field name may contain a maximum of 10 characters.

The same rules apply to field names that apply to variable names. The first letter must be an alphabetical character or an underscore and all other characters must be alphanumeric or an underscore.

Re: Questions of zero level

Posted: Sun Jul 15, 2012 12:21 pm
by rdonnay
Alaska gives a mistake at database creation if in the file of structure there are names of fields in length more than 10 symbols. CLIPPER too worked with names to 10 symbols, but a mistake didn't give, and simply other symbols ignored. That is the fields different by 11, 12 and so on by symbols were perceived as identical.
Compile your code with the /com switch.

/com Compatibility-Mode (max. 10 significant chars for ident.)