Andrew,
Your advice of where the Session variable is declared gave the clue. I am using a separate data module, and TTable is used there but not in the main form. Once I put the code in the data module, the variable was recognised.
Also thanks to your suggestion of the dirctory property -...
I am developing database app with DB tables and BDE. I also want to have an .ini file residing in the database folder, therefore I need to extract the path name from the database alias.
Apparently, this can be done using Session.GetAliasParams(), and from what I have been able to find out, the...
Can anyone enlighten me as to how to simulate a keypress (in my case, the Enter key) in whichever object (memo box) has current focus?
I have a popup form with DBGrid, and when the user selects a record, focus passes back to the main form and I want to simulate pressing the enter key, which...
Ahh! - found the problem. It wasn't anything to do with the update routine at all.
I had a routine triggered from the datasource datachange which filled my memo box array with the table data. When the save routine called TableCust.edit, a datachange was triggered which immediately overwrote...
Hi all - first post here and relatively new to Delphi...
Problem I have is:
Using BDE with TTable & TDataSource components linked to dBase file in Delphi6. I am reading in field data from a particular record to an array of edit boxes using
For i:= 0 to 26 do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.