Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Using Set_Table_Property Problem

2 posts in Delphi Last posting was on 2003-09-03 16:57:15.0Z
"Jeff Kreider" Posted on 2003-09-03 16:39:00.0Z
From: "Jeff Kreider" <jeff(-at-)pctournaments.com>
Newsgroups: Advantage.Delphi
Subject: Using Set_Table_Property Problem
Date: Wed, 3 Sep 2003 11:39:00 -0500
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 168.236.254.1
Message-ID: <3f561999@solutions.advantagedatabase.com>
X-Trace: 3 Sep 2003 10:40:57 -0700, 168.236.254.1
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!168.236.254.1
Xref: solutions.advantagedatabase.com Advantage.Delphi:13861
Article PK: 1107295

I am using ADS 6.2 and I am unable to set the Auto Create setting. What I
have tried is:
AdsDictionary.SetTableProperty('mytable', ADS_DD_TABLE_AUTO_CREATE,
pchar('1'), 2, ADS_NO_VALIDATE, '');

What should I be using?

As a side note. I found the example in the help file to be very helpful
when setting the Primary Index, but it would be nice to include an example
for something like the auto create, which for me isn't as straight forward.

Thanks for your excellant support!

Jeff Kreider


"Jeff Kreider" Posted on 2003-09-03 16:57:15.0Z
From: "Jeff Kreider" <jeff(-at-)pctournaments.com>
Newsgroups: Advantage.Delphi
References: <3f561999@solutions.advantagedatabase.com>
Subject: Re: Using Set_Table_Property Problem
Date: Wed, 3 Sep 2003 11:57:15 -0500
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 168.236.254.1
Message-ID: <3f561de1@solutions.advantagedatabase.com>
X-Trace: 3 Sep 2003 10:59:13 -0700, 168.236.254.1
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!168.236.254.1
Xref: solutions.advantagedatabase.com Advantage.Delphi:13862
Article PK: 1107296

Ok. I'm just being stupid. Forget this question.

"Jeff Kreider" <jeff(-at-)pctournaments.com> wrote in message
news:3f561999@solutions.advantagedatabase.com...
> I am using ADS 6.2 and I am unable to set the Auto Create setting. What I
> have tried is:
> AdsDictionary.SetTableProperty('mytable', ADS_DD_TABLE_AUTO_CREATE,
> pchar('1'), 2, ADS_NO_VALIDATE, '');
>
> What should I be using?
>
> As a side note. I found the example in the help file to be very helpful
> when setting the Primary Index, but it would be nice to include an example
> for something like the auto create, which for me isn't as straight
forward.
>
> Thanks for your excellant support!
>
> Jeff Kreider
>
>