Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Balance amt using SQL from Parent-Child and GrandMaster
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00966900
Message ID:
00967144
Views:
12
Hi Sergey

>When you use LEFT join you have to account for NULL values using function similar to VFP NVL or MS SQL Server ISNULL. Something like
s.bDrAmt + ISNULL(uf.bDr,0) - ISNULL(uf.bCr.0) AS bBalDr,
Okay, thanks a lot. In the mean time I had been working on the SQL and received help from Dorin in this thread. You can check out his response and the newly developed SQL.

Thanks a lot for all your help. Wishing you the best of luck for this years Personality award too.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform