Nope ... depends on the situation ... so maybe I was too quick to agree. <g> In the example you show, I'd definitely prefer to use an overloaded GetCustomer method. But sometimes having optional parameters is nice too. Not an option with C# however.
What?!? I can't have my cake and eat it too? <g>
>>Yep, VFP's way is definitely better ...
>
>really? so, if I understood correctly, you guys prefer to have several methods like: GetCustomerByPK, GetCustomerByEmail, GetCustomerByWhatever... instead of having a GetCustomer overloaded method?