Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5363 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

Is there an efficient way to write into empty fields only?

Instead of writing a bunch of :)


if [isempty(tableB::fieldA)]

   Set Field [tableB::fieldA; tableZ::fieldZ]

end if

I'm writing a script to allow user to start filling automatically the new database seamlessly.

The old database was not normalized (18 years old project!!) and I create a new one which respect most DB standards. So I need an efficient script to transfert data from table_old to table_new_A, table_new_B, so on.

Thanks for any help

Posted

A way to shortened the script, is to use the case function which gives me something similar to :)


Case (IsEmpty (tableB::fieldA); oldTable::oldField; tableB::fieldA)

This topic is 5363 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.