>>
>>WITH THISFORM
>>IF !PEMSTATUS(THISFORM, [D], 5)
>> .ADDOBJECT([D], [TXTDATE])
>> .D.MOVE(250,350)
>> .D.BORDERSTYLE = 1
>> .D.SPECIALEFFECT = 0
>> .D.VALUE = DATE()
>> .D.CONTROLSOURCE = _DIARYDATE
>> .D.VISIBLE = .T.
>>endif
>>endwith
>>
>Jusatok,
>
>I simply changed the name of the textbox to Diary and then there was no more error. BYW, naming things with a single letter is not a good idea as single letters are often used by fox as default alias names when the table name canot be used for some reason.
Well, I agree that use single character is NOT good. For some cases, the variable may only use in a few time and release very soon, I suppose to use a short name instead of long if possible.
Now, I 'know' why Cetin. coding using iX as count not i,j,k...
Recently I am a VB progr and very often use i,j,k as counter to do simple job
and totally ignore what the actually mean...
I have test A-Z and found following result:
A-J: as Cetin state, must error because work area
N,T,Y: as .N., .T., .Y. or something like
So, the above must error. Anyway, it is just for reference.
Don't use Too Short name is important!!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.