> >
> > 1. Keep only 1 public variable - aka oApp application object
> > 2. Hungarian notation is a preference, use or do not use. But do use m. (aka MDOT) prefix for memory variables.
> > 3. ..
> > 4. Obtain a book from
Hentzenwerke.com to get the basics.
> > 5. When asking specific questions provide reproducing code and preferably some data along with your post (check FAQ section for a code that creates a code that you can paste to your post for sending data from your tables).
> >
> > My .02 cents:)
> >
> > Cetin Basoz
>
> Why use M.(MDOT) variables?
>
> Leslie Botchway
> Ghana
1) To remove ambiguity and prevent unintentional errors. This one is important. ie:
kod = 1
select myTable
locate for code = kod
or select * from myTable where code = kod
and don't be surprised if it doesn't find any records when you're sure there is one with code=1.
2) Performance. Much less important but may sum up to minutes difference.
Cetin Basoz