نمایش نتایج 1 تا 8 از 8

نام تاپیک: فوري : مشكل در نمايش تاريخ در فست ريپورت

  1. #1

    Question فوري : مشكل در نمايش تاريخ در فست ريپورت

    سلام دوستان
    من تاريخ رو در بانك به صورت مثلا 13880101 ذخيره كردم و مي خوام اين تاريخ رو به صورت 01/01/1388 در فست ريپورت نمايش بدم
    در دلفي مي شه در قسمت Display Format با استفاده از ##/##/#### تاريخ را نمايش داد ولي اين كار در فست امكان پذير نبود
    اگر كسي فوري كمك كند ممنون مي شم
    خيلي لازمش دارم

  2. #2

    نقل قول: فوري : مشكل در نمايش تاريخ در فست ريپورت

    چرا در داخل خود FR هم همچین خاصیتی وجود داره که میشه این کار رو انجام داد.
    از کنترل text اون استفاده کنید و همین خاصیت رو مطابق نیازتون تنظیم کنید.

  3. #3

    نقل قول: فوري : مشكل در نمايش تاريخ در فست ريپورت

    یعنی دقیقا کجا؟

  4. #4
    کاربر دائمی آواتار سعید صابری
    تاریخ عضویت
    اردیبهشت 1387
    محل زندگی
    برازجان
    پست
    1,431

    نقل قول: فوري : مشكل در نمايش تاريخ در فست ريپورت

    دو بار كليك كه روي كنترل مي كني. سر برگ دوم (قالب بندي)
    آخرین ویرایش به وسیله سعید صابری : سه شنبه 24 آذر 1388 در 09:35 صبح

  5. #5

    نقل قول: فوري : مشكل در نمايش تاريخ در فست ريپورت

    باید از syntax زیر پیروی کنی .

    When using format tags, the general syntax is as follows:
    [expression #tag]
    Note that space between the expression and the “#” sign is mandatory! The tag
    itself might look as follows:
    #nFormattingLine – the numerical format
    #dFormattingLine – date/time format
    #bFalse,True – boolean format
    “FormattingLine” in every case is the argument to the function, by which
    formatting is accomplished. Thus, for numerical formatting, Delphi’s Format function is
    used, for date/time it is the FormatDateTime function. One can find the possible values
    from the Delphi help system. Below are several values used in FastReport:
    for the numerical formatting:
    %g – a number with the minimal signs number after decimal point
    %2.2f – a number with the fixed number of signs after decimal point
    %2.2n – a number with bits delimiter
    %2.2m – a monetary format, accepted in the Windows OS, depending on the regional
    settings in the control panel.
    for the date/time format:
    dd.mm.yyyy – date of the 23.12.2003 type
    dd mmm yyyy – date of the 23 Nov. 2003 type
    dd mmmm yyyy – date of the 23 November 2003 type
    hh:mm – time of the 23:12 type
    hh:mm:ss – time of the 23:12:00 type
    dd mmmm yyyy, hh:mm – time and date of the 23 November 2003, 23:12 type
    It is acceptable to use a comma or dash instead of period in the line for the
    numerical format. This symbol will be used as a separator between the integer and the
    fractional parts of the value. Usage of other separators is not acceptable.
    Formatting of the “#b” type (boolean), the formatting line is presented as two
    values separated by comma. The first value corresponds to “False,” the second one
    corresponds to “True.”
    In order to avoid the necessity to memorize all these tags and their meanings, there
    is a convenient resource for formatting insertion in the “Text” object editor. When
    clicking the button, the format editor (which we have already examined) is called.
    76 FastReport 4.6 User's Manual
    © 1998-2008 FastReports Inc.
    After selecting a format, it is inserted to the text. Thus, if the cursor is placed before or
    after the closing square bracket, the format will be inserted correctly.

  6. #6
    کاربر دائمی آواتار zman123456
    تاریخ عضویت
    شهریور 1385
    محل زندگی
    بندرعباس
    پست
    515

    نقل قول: فوری : مشکل در نمایش تاریخ در فست ریپورت

    با این فرمت ها کار کنیم تاریخ را به میلادی تبدیل میکنه.این مشکلی هست که به خاطر اون نمیشه از فرمت های تاریخ fastreport استفاده کرد.

  7. #7
    کاربر دائمی آواتار سعید صابری
    تاریخ عضویت
    اردیبهشت 1387
    محل زندگی
    برازجان
    پست
    1,431

    نقل قول: فوری : مشکل در نمایش تاریخ در فست ریپورت

    نقل قول نوشته شده توسط zman123456 مشاهده تاپیک
    با این فرمت ها کار کنیم تاریخ را به میلادی تبدیل میکنه.این مشکلی هست که به خاطر اون نمیشه از فرمت های تاریخ fastreport استفاده کرد.
    دوست عزيز چجوري استفاده كرديد كه تاريخ تغيير داد؟ قاعدتا نبايد مشكل داشته باشه

  8. #8
    کاربر دائمی آواتار zman123456
    تاریخ عضویت
    شهریور 1385
    محل زندگی
    بندرعباس
    پست
    515

    نقل قول: فوری : مشکل در نمایش تاریخ در فست ریپورت

    yyyy/mm/dd

قوانین ایجاد تاپیک در تالار

  • شما نمی توانید تاپیک جدید ایجاد کنید
  • شما نمی توانید به تاپیک ها پاسخ دهید
  • شما نمی توانید ضمیمه ارسال کنید
  • شما نمی توانید پاسخ هایتان را ویرایش کنید
  •