Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing multiply characters within a dbf field
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00446552
Message ID:
00446587
Views:
10
Hi Peter,

You must be using a version of VFP < 6.

Whereever you see
vartype(variable) = 'C'
you can use
type('variable') = 'C' and not isnull(variable)
.

Cheers,

Andrew

>Thanks Andrew,
>
>Gave that a try but I get stopped at 'vartype'. Says there's no vartype.prg
>
>I had something similar in Access but FoxPro is quite different. I'm going to stick with FoxPro but in the meantime I'm fairly green in writing functions.
>
>Thanks
>
>Peter


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform