![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Sat, Apr 7 2018 7:53 PM | Permanent Link |
Frederick Chin | I have a form and a database defined in a project. The database has a single dataset that points to a DBISAM table (bid) with a single field (email). The formh as a single EditBox with the DataSet property set to the table and the DataColumn set to the field.
When running the program, the DataSet goes missing. Why does this happen? I have attached the project. -- Frederick -- Frederick Attachments: testnods.zip |
Sun, Apr 8 2018 5:01 AM | Permanent Link |
Uli Becker | Frederick,
I don't understand what you are doing in the OnShow event of your main form (and why), but it would be a good idea to (auto)create "datamodu" *before* your main form. Ui |
Sun, Apr 8 2018 11:02 AM | Permanent Link |
Frederick Chin | Uli,
/* I don't understand what you are doing in the OnShow event of your main form (and why), but it would be a good idea to (auto)create "datamodu" *before* your main form. */ Thanks. The auto creation of the database before the main form solved the problem. I think it could be a timing issue because this is the first time I had editable controls in the main form. In my previous projects where the database was created after the main form, there were no issues with the missing dataset in secondary forms. I hadn't thought of auto creating .the database before the main form because in Delphi, this would cause issues. -- Frederick |
Mon, Apr 9 2018 6:18 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Frederick,
<< I hadn't thought of auto creating .the database before the main form because in Delphi, this would cause issues. >> Yes, EWB specifically allows you to auto-create forms/databases *before* the main form, and that resolves this issue. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Thursday, March 30, 2023 at 10:19 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |