I can't seem to make a reference to a DLL created in VB.NET from my VB 5.0 project... I have installed the .NET Framework on my computer, though... is there another way to call the DLL? Any suggestions?
Thanks!
I can't seem to make a reference to a DLL created in VB.NET from my VB 5.0 project... I have installed the .NET Framework on my computer, though... is there another way to call the DLL? Any suggestions?
Thanks!
I got it working late last week... I never did get the formula to work when passed to the container report, then linked to the subreport as record selection criteria.
However, when I got my syntax right, I was able to include the criteria as a parameter from VB, then linked to the subreport...
I am passing a string from VB5.0 like this:
CrystalReport1.Formulas(0) = "UID= '" & mvAccountID & "'"
The main report receives the value passed into its formula named @UID.
I have selected my subreport, right-clicked, and Changed Subreport Links...
I selected the formula...
I'm having a similar problem... I pass a string from VB to CR like this:
CrystalReport1.Formulas(0) = "UID= '" & mvAccountID & "'"
Then in the main report, I can print that string, so I know it's getting in there, but when I link the subreport (including record selection)...
I'm having a similar problem... I pass a string from VB via a formula to the main report, then the change links in the subreport so that the subreport should only report records matching the formula. Everything looks good, but the subreport is blank.
I found a fix. I took an older version of the form that did work, and opened it and the new one in a text editor (to include the form description in text). Then I cut and paste from the new to the old, testing each change by running it in VB. Finally, I added the code that describes my latest...
Stranger and stranger... the DoEvents statement didn't work, and I tried it in different locations. I then stepped through my program step-by-step, and the code matches an earlier version that runs.
I also tried the timer scenario, to no avail... and the only way frmStudents is called is in a...
That's exactly the advice I just received from our in-house guru -- but to no avail! With the DoEvents immediately after the modal form load, I still get the error (which actually comes from a form load within the frmStudents sub Form_Load).
With the DoEvents before the If, I get no error, but...
I’ve got a strange situation here, and I wanted to see if it rings any bells with anyone. When I run my main form code from within VB, with no breakpoints, I get the error “Can’t show non-modal form when a modal form is displayed.” Debugging at this point reveals the offending "form...
I decided that all of the string passing could be done in the main report, arranged above or below each subreport... Don't know of any way to reference a subreport formula from VB 5... :|
I'm trying to generate a report from Visual Basic which has several subreports. Each of these subreports contain formulas for passing strings from VB5. I have been accessing the formulas of the main report like this:
CrystalReport1.Formulas(0) = "Name=" & "'" mvName &...
I've seen this question asked, but I don't think I've ever seen an answer: can Crystal Reports accept data from a VB Listbox control, or for that matter, any VB control with a list of data elements, such as a listview (in 'report' mode)?
TIA
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.