Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Paradox odbc error

Status
Not open for further replies.

filipe26

Programmer
Mar 17, 2003
152
PT
hi when i try to post a record gives me the following error:You have to set a actualized query.
 
You fail to mention as to how you're trying to post a record through to a Paradox table ?
Are you making use of a TTable / TQuery component or some other means ?
Some more clues might prompt some more useful feedback. :)
We're always glad to help.
Steve
 
Ttable.

Some code to about the posting.

dm.registos.Append;
dm.registosCodigo.Value:=dm.registos.RecordCount+1;
dm.registosDt.Value:=dtpick.Date;
dm.registosNome.Value:=combo.Text;
dm.registosValorTotal.Value:=strtofloa(total.Caption);
label4.Caption:=Inttostr(dm.registoscodigo.value);
dm.registos.Post;
 
Some clues:

1) Use the native paradox driver supplied with delphi, eliminate odbc.

2) Set the RequestLive property of the TQuery = true

Regards

Steven van Els
SAvanEls@cq-link.sr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top