Hi
I am using VB6 and Crystal Report 8.5 and Access for programming.
When VB form prompts me to enter the month for which report
is required and if I enter say January then the text should appear in the
heading of the Report after my text " Expenditure for the month of : "
Pl note that the month name given in the VB form has no link with database. Just external
command only.
will any one suggest me the idea.

Recommended Answers

All 2 Replies

how could u run a sql statement using such field which has no connection with the database?

Hello Mr. Shouvik,
That is why I am asking is there any way to do such task.
vig. when you run programme and enter January in text1.text then,

command1_click()
dim a,b as string
a=text1.text
b=text2.text
b=a
the text written in a is shown in text b
here neither the a nor the b has relation to database
I need in same pattern but in Crystal Report.
Is it possible ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.