> Folks,
> Ok I have a Form using an ADO Data Control. At form activate time
I set
> the ConnectionString and
> the recordsource. According to the record count I get 3 records.
The First
> records display in the fields they're bound to. However, when I use
the
> record movement buttons on the ADODC nothing happens. I must be
screwing up
> something simple but I can't figure out what.
> Any Ideas?
> Thanks In Advance,.
> --
> {John}
> <pithy quote Goes here>
> ICBM Address: 32.46N 84.98W
John
If you are using the Adodc1 control the connection string &
recordsource properties are inherent within the control and should not
be set in the form activiate event. Right click the Adodc1 control,
bring up the properties dialog box and set the connection properties
there. Remove the settings from the form activate event.
Alternatively (and some might suggest a better alternative) is to do
away with the Adodc1 control and create the db connection with pure ADO
code, which would normally be placed in the Form_Load event, or
composed as a sub procedure and called from the form load event. If you
want further info post a follow up reply.
Cheers, Dave
--
dcward
Sent via Deja.com http://www.deja.com/
Before you buy.