If you are unable to create a new account, please email support@bspsoftware.com

 

Howto change datamodule when source table name changed?

Started by icepick, 01 Feb 2021 10:33:41 PM

Previous topic - Next topic

icepick

Hi,

I have created a data module and I am running into an issue that the source table name has changed. So the old situation was;

Tablename: Addresses_old
Columns: Name, address, city

New situation;
Tablename: Addresses_new
Columns: Name, address, city

So the columns are identical, just the tablename changed. How can I make this change show in the data module?

I tried changing the ID for the specific column in the advanced property tab but this doesn't seem to do anything. Any ideas?

srmoure

I am looking for the same information. I know it's possible because I saw a video of someone doing it. Unfortunately, I cannot find the video :-(

MFGF

Quote from: srmoure on 14 Dec 2021 11:43:30 PM
I am looking for the same information. I know it's possible because I saw a video of someone doing it. Unfortunately, I cannot find the video :-(

Does this post from bus_pass_man help?

https://www.cognoise.com/index.php/topic,36660.0.html

Cheers!

MF.
Meep!

wdv72

I did it as follows.

MAKE A COPY OF YOUR MODULE AS BACKUP FIRST!!!

Open datamodule. Press buttons 'CTRL Q /' at the same time. Source code will appear. Copy to an external editor like Notepad++. Search and replace the old table text with new table.

Copy the changed code, edit the code in the datamodule, select the old code and replace with the edited code.