Re: Data Report control questions
<netsurfer802@xxxxxxxxx> wrote in message
news:1131817051.232466.120260@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi:
>
>
> I have some questions as related to Visual Basic 6 controls of a Data
> Report...and it's controls.
> First, what is a RptPicture control? (I've tried referencing what this
> was with MSDN's Library but to no avail.)
There is a RptImage control, which lets you display a bitmap. I don't think it
can be data bound.
> Secondly, is DataFormat a property for just assigned the format for the
> data? If so, in relationship to the Data Report (or the RptTextbox
> control) what kind of formats can be assigned?
>
The DataFormat property is actually a StdDataFormat object, which contains a
Format property containing a formatting string.
"The Format property supports the same set of format expressions as the Format
function", says the help file.
And yes, this is meant to be a format for displaying the data, usually used to
format numeric or date fields.
- - - -
You will probably find that the Data Report tool in VB6 is fairly limited. For
serious database reporting, you will want to move on to a real report tool.
.
Relevant Pages
- Control format property in OnFormat event
... I have added an extra field to determine the format type. ... while setting the format property seems ... Eventual report layout.... ... I want to have control of the formatting of the week number controls... ... (comp.databases.ms-access) - Re: Change Date Format
... Make sure you are settig the format PROPERTY for the control. ... "John Spencer" wrote: ... (microsoft.public.access.reports) - Re: time calculation problem [OT]
... But Al's previous formula though it didnot work gave me the format i wanted. ... In the former I was using the DTPicker control, which seemed to allow me to use two controls on the same underlying field, and somehow managed to avoid problems when I edited either: ... which appears as a "general" date/time format when clicked. ... I've wondered about using an event handler to intercept the attempt to edit in order to present a popup form with separate date and time text boxes which are then combined correctly when this popup form is closed. ... (microsoft.public.access.gettingstarted) - Re: time calculation problem [OT]
... But Al's previous formula though it didnot work gave me the format i wanted. ... In the former I was using the DTPicker control, which seemed to allow me to use two controls on the same underlying field, and somehow managed to avoid problems when I edited either: ... I've wondered about using an event handler to intercept the attempt to edit in order to present a popup form with separate date and time text boxes which are then combined correctly when this popup form is closed. ... What I wanted was to avoid users having to edit a date/time in "General ... (microsoft.public.access.gettingstarted) - Re: time calculation problem [OT]
... But Al's previous formula though it didnot work gave me the format i wanted. ... In the former I was using the DTPicker control, which seemed to allow me to use two controls on the same underlying field, and somehow managed to avoid problems when I edited either: ... I've wondered about using an event handler to intercept the attempt to edit in order to present a popup form with separate date and time text boxes which are then combined correctly when this popup form is closed. ... What I wanted was to avoid users having to edit a date/time in "General ... (microsoft.public.access.gettingstarted) |
|