Re: [gnome-db] Holder names



Hi!

Sorry, I made a stupid mistake in my code. It's actually working.

Regards,
Johannes

Am Freitag, den 23.01.2009, 21:08 +0100 schrieb Vivien Malerba:
> 
> 
> 2009/1/23 Johannes Schmid <jhs jsschmid de>
>         Hi!
>         
>         Consider this query:
>         INSERT INTO "contacts" (contact_id, name_first, name_middle,
>         name_last,
>         name_title, address_street, address_town, address_state,
>         address_country, address_postcode, date_of_birth, comments,
>         name_full,
>         picture, email, website, tel_home, tel_work, tel_mobile,
>         tel_fax) VALUES
>         (##param0::GdaNumeric, ##param1::gchararray,
>         ##param2::gchararray,
>         ##param3::gchararray, ##param4::gchararray,
>         ##param5::gchararray,
>         ##param6::gchararray, ##param7::gchararray,
>         ##param8::gchararray,
>         ##param9::gchararray, ##param10::GDate, ##param11::gchararray,
>         ##param12::gchararray, ##param13::GdaBinary,
>         ##param14::gchararray,
>         ##param15::gchararray, ##param16::gchararray,
>         ##param17::gchararray,
>         ##param18::gchararray, ##param19::gchararray)
>         
>         According to my understanding get_parameters() should give me
>         the
>         GdaHolders named "param0" to "param19" but it seems it gives
>         me the
>         holders contact_id, name_first, name_middle, etc.
> 
> You should normally have parameters with param0 to param19 IDs. This
> is what I get from the code attached:
> Holder param0
> Holder param1
> Holder param2
> Holder param3
> Holder param4
> Holder param5
> Holder param6
> Holder param7
> Holder param8
> Holder param9
> Holder param10
> Holder param11
> Holder param12
> Holder param13
> Holder param14
> Holder param15
> Holder param16
> Holder param17
> Holder param18
> Holder param19
> 
> Do you have some code which shows the problem?
> 
> Cheers,
> 
> Vivien
> 
> 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]