I would enjoy being a cowboy... I asked Trent if we could ride horses and camp on the desert next time I visited, have beens and bacon, kill snakes with a Colt 38... not sure he really enjoyed the idea.
I see you are concatenating First and Last Name properties of your BO. Have you had a look at Custom Properties? Have a look at the Help File, under Application Framework / Business Layer / Common Business Object Tasks / Adding Custom Field Properties... and see if it gives you some ideas.
You can also follow the Tutorial, Creating a WinForms App [VB] / Adding Custom Field Properties.
Now, just one thing... what is the meaning of "Jangling Spurs" ?
Works like a Charm!
Here's my final code:
Dim lobo = DataObjects("MyVendorNames")loBo.BusinessObject.seektoprimarykey(GetData("MyBBS.Provider"))Dim last = loBo.BusinessObject.LASTNMDim first = loBo.BusinessObject.FIRSTNMtextbox11.Text = first & " " & last
As you can see, I had to walk my way through the "BusinessObjectProperty" of the BusinessBindingSource Object to expose the strong-typed properties I was after.
Ivan -- thank you for very much for your help!
Have a look at your Designer. If you have your Document property open, you will see under Script some properties you can setup for a general purpose, like Imports (for references), COMMON SCRIPT, GENERATE SCRIPT... and then, if you click any control on your lay-out, you will also find a GENERATE SCRIPT where you can enter any code, something like:
Dim loBO As New MyBOtxtMyControl.Text = loBO.GetInfo(GetData("MyBOReportBBS.my_Field"))loBO.Dispose()
Or anyhing you want.
Would that help?
Thanks Again!
v3.7 --- and browsing through Suite_Eng.Doc, as we speak!
Hopefully, I'll find something akin to the RowPopulating event handler, where Strataframe has definitely spoiled me. It would be nice to replace row values in a Report Shooter inline report with something meaningful from another BO --- much like the way SF does with e.Values().Displayvalue....
Glad I could help.
Yep, the datasource ellipsis has a known bug that comes up when you first create the new report, I have talked to them about it.
And have you downloaded the last updated version? The help file is a lot better.
Cheers.