PDA

View Full Version : BASIC programming syntax


MCPG
08-11-2005, 11:12 AM
This is a pretty random question, but does anyone know BASIC programming syntax, Crystal programming syntax, or are familiar in anyway to the program CrystalDecisions9.0? I know not many of you probably are, but I am working on something and am absolutely stumped and didn't know where else to post this question.

Anyways, for you computer programmers out there, here's my question:

In CrystalDecisions 9.0, is there any way to have a picture appear if certain criteria are met?

I know how to display a picture, however, what I want to happen is every time a certain person, and that person only, opens this report, the picture appears. Here is an example of the code I have used:

If {ExpenseLog.EmployeeID} = "John Smith" Then
Open "C:/Program files/Pictures/Sample.bmp"

The program supports bitmaps, the problem I am having is with the code. CrystalReports is not accepting the command 'Open', even though it apparently uses BASIC syntax. Does anyone know a command in Crystal syntax that would allow me to have a picture appear?

I apologeize for the lame thread.

The Notorious LOL
08-11-2005, 11:13 AM
I think thats what Visual Basic is for.


I did a semester of computer programming in college, got bored to tears, and dropped out.

beastieangel01
08-11-2005, 12:55 PM
I saw Crystal so I got kind of confused. Now I'm up to speed. And I cannot help you cause I know nothing.

Sorry!

MCPG
08-11-2005, 03:01 PM
That's awesome! Thank you so much.