Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: How to Correct formula Post Reply Post New Topic
Author Message
muddasirmunir
Newbie
Newbie


Joined: 21 Oct 2007
Location: Pakistan
Online Status: Offline
Posts: 13
Quote muddasirmunir Replybullet Topic: How to Correct formula
    Posted: 08 Nov 2007 at 7:25am
i am using vb6 and sqlserver 2000
i made a formulal field and give theme a code

Code: ( text )
  1. (slaes.credit)-(sales.debit) +200

and then made a runnnig total of formula field
its work fine

but i know want not to add 200 to it but want to add the resulte
of the following querey

"select sum(credit) - sum( debit) where date < userinput"
or
in some reports i want the number which is is any form for this i use the following formula

(slaes.credit)-(sales.debit) + form1.text1.text

but its shows an error

i want answer of how inseted of 200 we give number given by the query
and
how to add number which is in form1.text1.text

how to solve this and
thanks


Edited by muddasirmunir - 08 Nov 2007 at 7:27am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.051 seconds.