CMIIW
 
 
Ini skrip yg aku pake, tp aku pake CR 8.5 dan berhasil (asumsi Formula di report cm satu) jd formula(0).......
 
    ctrCetak.Formulas(0) = "AreaKasus='" & UCase(txtArea.Text) & "'"
    ctrCetak.Action="">
 
 
cheers,
Jemy
 
 
----- Original Message -----
Sent: Tuesday, June 21, 2005 2:16 PM
Subject: Re: [Programmer-VB] Gimana passing var dari VB ke CR 10..?

>
>
>
>
> Masalah saya sebenarnya sederhana aja, gimana desain CR10 saya seperti di
> bawah ini :
>
> REPORT ANALISA KASUS DOWNTIME
> DI AREA  : @AreaKasus
>
> =============================
> No.     Mesin        bla.. bla...
> =============================
>
>
> Di VB ada dialog seperti di bawah ini :
>
> +==========================+
> +  AREA :  Produksi 1                     +
> +                                                             +
> +    Preview          Exit                        +
> +==========================+
>
> Pertanyaan saya ketika dialog VB saya click Previewnya, maka reportnya akan
> menjadi :
>
> REPORT ANALISA KASUS DOWNTIME
> DI AREA  : Produksi 1
>
> =============================
> No.     Mesin        bla.. bla...
> =============================
>
> Dimana penampilan Produksi 1 dari var VB ke CR 10 itu melalui fungsi
> FormulaFields.
> Bisa dijawab dengan jelas ngga mas..??
>
> Kalo perlu dengan syntax yang real dengan variable di atas..?
>
>
>
>
>
>                                                                          
>             "FATH"                                                       
>             <
[EMAIL PROTECTED]                                            
>             erowisata.com>                                             To
>             Sent by:                  <
[email protected]>    
>            
[EMAIL PROTECTED]                                          cc
>             oogroups.com                                                 
>                                                                   Subject
>                                       Re: [Programmer-VB] Gimana passing 
>             06/22/05 04:01 AM         var dari VB ke CR 10..?            
>                                                                          
>                                                                          
>             Please respond to                                            
>            
[EMAIL PROTECTED]                                            
>               oogroups.com                                               
>                                                                          
>                                                                          
>
>
>
>
> coba di CR-nya di tambahkan selectionnya lewat selection formula.
> syntax : field (yg akan di seleksi) = formula (yg baru di buat)
>
> cmiiw
>
>
> ----- Original Message -----
> From: <
[EMAIL PROTECTED]>
> To: <
[email protected]>
> Sent: Monday, June 20, 2005 11:55 PM
> Subject: [Programmer-VB] Gimana passing var dari VB ke CR 10..?
>
>
>>
>>
>>
>>
>> Hi all,
>>
>> saya pakai CR 10 dengan menggunakan modus open reportnya tidak pakai ocx
>> melalui syntax action tapi Desainer report alias Dsr dengan mengambil
> file
>> Rpt dari CR 10 langsung.
>> Problem saya selalu gagal menampilkan sebuah data variable dari VB ke
>> formulanya CR 10..? Kenapa yaa..?
>>
>> apa ada yang salah dengan program saya di bawah ini :
>>
>> 1. Di CR 10 sudah saya tambahkan variable FormulaFields nya adalah
>> AreaKasus tanpa saya isi apa-apa alias blank didalam kolom formula yang
>> tersedia.
>>
>> 2. Di VB, pada saat saya ingin view report, saya add syntax seperti di
>> bawah ini :
>>
>> Private Sub cmdCommand_Click(Index As Integer)
>>       Rpt_CARSearching.FormulaSyntax = crBasicSyntaxFormula
>>       Rpt_CARSearching.FormulaFields.Item(1).Text = formula = "'Area
>> AAAAA'"
>>       frmCARViewReport.Show
>> end sub
>>
>> pengennya saya, ketika ada variable VB yang berisi Area AAAAA itu bisa
>> muncul di CR 10 melalui Formulafields AreaKasus. Tapi herannya kok ngga
>> muncul walaupun dicompile tidak error. Dengan kata lain, passing data
> dari
>> VB6 ke CR 10 tidak menimbulkan efek apa2..!!
>>
>> Saya masih bingung, gimana cara deklarasi AreaKasus di VB6 supaya bisa
>> dikenal dan saya masih belum mengerti syntax Item di atas untuk apa..??
>> Herannya saya tidak pernah ketemu object AreaKasus di VB6...
>>
>> Tolong donk di share....
>>
>> Thanks
>>
>>
>>
>> **********************************************************************
>> This e-mail and any files transmitted with it may contain
>> confidential information and is intended solely for use by
>> the individual to whom it is addressed.  If you received
>> this e-mail in error, please notify the sender, do not
>> disclose its contents to others and delete it from your
>> system.
>>
>> **********************************************************************
>>
>>
>>
>> Untuk keluar dari millis ini, kirim email kosong ke:
>>
[EMAIL PROTECTED]
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>>
>
>
>
> Untuk keluar dari millis ini, kirim email kosong ke:
>
[EMAIL PROTECTED]
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>
> **********************************************************************
> This e-mail and any files transmitted with it may contain
> confidential information and is intended solely for use by
> the individual to whom it is addressed.  If you received
> this e-mail in error, please notify the sender, do not
> disclose its contents to others and delete it from your
> system.
>
> **********************************************************************
>
>
>
> Untuk keluar dari millis ini, kirim email kosong ke:
>
[EMAIL PROTECTED]
>

> Yahoo! Groups Links
>
> <*> To visit your group on the web, go to:
>   
http://groups.yahoo.com/group/Programmer-VB/
>
> <*> To unsubscribe from this group, send an email to:
>   
[EMAIL PROTECTED]
>
> <*> Your use of Yahoo! Groups is subject to:
>   
http://docs.yahoo.com/info/terms/

>


Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]





Yahoo! Groups Links

Kirim email ke